From b15253158656cdfb04e4a1e9abcfd64e98f09e18 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 8 Oct 2025 10:23:01 +0200 Subject: [PATCH 1/3] python313Packages.pluginbase: update meta --- pkgs/development/python-modules/pluginbase/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pluginbase/default.nix b/pkgs/development/python-modules/pluginbase/default.nix index cc330ac93f9b..b699870656b9 100644 --- a/pkgs/development/python-modules/pluginbase/default.nix +++ b/pkgs/development/python-modules/pluginbase/default.nix @@ -22,10 +22,11 @@ buildPythonPackage rec { PYTHONPATH=.. pytest ''; - meta = with lib; { + meta = { + description = "Support library for building plugins systems in Python"; homepage = "https://github.com/mitsuhiko/pluginbase"; - description = "Support library for building plugins sytems in Python"; - license = licenses.bsd3; - platforms = platforms.all; + changelog = "https://github.com/mitsuhiko/pluginbase/releases/tag/${version}"; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ ]; }; } From 0b1333979d9c23f29508b8f09d7332efb6f348cf Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 8 Oct 2025 11:32:44 +0200 Subject: [PATCH 2/3] python313Packages.pluginbase: modernize --- .../python-modules/pluginbase/default.nix | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/pluginbase/default.nix b/pkgs/development/python-modules/pluginbase/default.nix index b699870656b9..eb318545012f 100644 --- a/pkgs/development/python-modules/pluginbase/default.nix +++ b/pkgs/development/python-modules/pluginbase/default.nix @@ -2,31 +2,31 @@ lib, fetchPypi, buildPythonPackage, - pytest, + setuptools, }: buildPythonPackage rec { - version = "1.0.1"; - format = "setuptools"; pname = "pluginbase"; + version = "1.0.1"; + pyproject = true; src = fetchPypi { inherit pname version; - sha256 = "ff6c33a98fce232e9c73841d787a643de574937069f0d18147028d70d7dee287"; + hash = "sha256-/2wzqY/OIy6cc4QdeHpkPeV0k3Bp8NGBRwKNcNfe4oc="; }; - nativeCheckInputs = [ pytest ]; + build-system = [ setuptools ]; - checkPhase = '' - cd tests - PYTHONPATH=.. pytest - ''; + # https://github.com/mitsuhiko/pluginbase/issues/24 + doCheck = false; + + pythonImportsCheck = [ "pluginbase" ]; meta = { description = "Support library for building plugins systems in Python"; homepage = "https://github.com/mitsuhiko/pluginbase"; changelog = "https://github.com/mitsuhiko/pluginbase/releases/tag/${version}"; license = lib.licenses.bsd3; - maintainers = with lib.maintainers; [ ]; + maintainers = [ ]; }; } From 4aed86df6f7a92944f084a6b5d98f100487e2ee6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 8 Oct 2025 11:56:21 +0200 Subject: [PATCH 3/3] conan: 2.16.1 -> 2.21.0 Changelog: https://github.com/conan-io/conan/releases/tag/2.21.0 --- pkgs/by-name/co/conan/package.nix | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/co/conan/package.nix b/pkgs/by-name/co/conan/package.nix index 537e8e76ce2a..8596a49c3735 100644 --- a/pkgs/by-name/co/conan/package.nix +++ b/pkgs/by-name/co/conan/package.nix @@ -1,27 +1,32 @@ { lib, stdenv, + cmake, fetchFromGitHub, git, pkg-config, - xcbuild, python3Packages, + xcbuild, zlib, - cmake, }: python3Packages.buildPythonApplication rec { pname = "conan"; - version = "2.16.1"; + version = "2.21.0"; pyproject = true; src = fetchFromGitHub { owner = "conan-io"; repo = "conan"; tag = version; - hash = "sha256-b+GVFy195wwQyWaiEMg1vVcWnkTB01IbQQsOHhQY6pY="; + hash = "sha256-D76K7s6zUy3hMOwkKXbsF4asrr7tGwC28MW5VaJvFBY="; }; + pythonRelaxDeps = [ + "distro" + "urllib3" + ]; + build-system = with python3Packages; [ setuptools ]; dependencies = @@ -49,11 +54,6 @@ python3Packages.buildPythonApplication rec { pyopenssl ]; - pythonRelaxDeps = [ - "urllib3" - "distro" - ]; - nativeCheckInputs = [ git pkg-config @@ -61,12 +61,12 @@ python3Packages.buildPythonApplication rec { ] ++ lib.optionals (stdenv.hostPlatform.isDarwin) [ xcbuild.xcrun ] ++ (with python3Packages; [ + cmake mock parameterized pytest-xdist pytestCheckHook webtest - cmake ]); dontUseCmakeConfigure = true; @@ -82,8 +82,10 @@ python3Packages.buildPythonApplication rec { "test_shared_windows_find_libraries" # 'cmake' tool version 'Any' is not available "test_build" + "test_conan_new_compiles" # 'cmake' tool version '3.27' is not available "test_metabuild" + "test_new_template_and_different_folder" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Rejects paths containing nix @@ -115,15 +117,14 @@ python3Packages.buildPythonApplication rec { "test/functional/util/test_cmd_args_to_string.py" "test/performance/test_large_graph.py" "test/unittests/tools/env/test_env_files.py" - "test/integration/ui/exit_with_code_test.py" ]; meta = { description = "Decentralized and portable C/C++ package manager"; - mainProgram = "conan"; homepage = "https://conan.io"; changelog = "https://github.com/conan-io/conan/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ HaoZeke ]; + mainProgram = "conan"; }; }