From 9d8d19737f50e4908e48408fa106d5bad8f3cc7b Mon Sep 17 00:00:00 2001 From: Vinetos Date: Tue, 19 May 2026 21:57:01 +0200 Subject: [PATCH] python3Packages.osc-lib: 4.5.0 -> 4.6.0 --- .../python-modules/osc-lib/default.nix | 21 +++++++------------ 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/pkgs/development/python-modules/osc-lib/default.nix b/pkgs/development/python-modules/osc-lib/default.nix index acb32b11140a..d36ea86e78f5 100644 --- a/pkgs/development/python-modules/osc-lib/default.nix +++ b/pkgs/development/python-modules/osc-lib/default.nix @@ -8,7 +8,6 @@ oslo-i18n, oslo-utils, pbr, - pythonAtLeast, requests, requests-mock, setuptools, @@ -19,7 +18,7 @@ buildPythonPackage rec { pname = "osc-lib"; - version = "4.5.0"; + version = "4.6.0"; pyproject = true; src = fetchFromGitHub { @@ -57,18 +56,12 @@ buildPythonPackage rec { checkPhase = let - disabledTests = - lib.optionals stdenv.hostPlatform.isDarwin [ - "osc_lib.tests.test_shell.TestShellCli.test_shell_args_cloud_public" - "osc_lib.tests.test_shell.TestShellCli.test_shell_args_precedence" - "osc_lib.tests.test_shell.TestShellCliPrecedence.test_shell_args_precedence_1" - "osc_lib.tests.test_shell.TestShellCliPrecedence.test_shell_args_precedence_2" - ] - ++ lib.optionals (pythonAtLeast "3.14") [ - # Disable test incompatible with Python 3.14+ - # See upstream issue: https://bugs.launchpad.net/python-openstackclient/+bug/2138684 - "osc_lib.tests.utils.test_tags.TestTagHelps" - ]; + disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ + "osc_lib.tests.test_shell.TestShellCli.test_shell_args_cloud_public" + "osc_lib.tests.test_shell.TestShellCli.test_shell_args_precedence" + "osc_lib.tests.test_shell.TestShellCliPrecedence.test_shell_args_precedence_1" + "osc_lib.tests.test_shell.TestShellCliPrecedence.test_shell_args_precedence_2" + ]; in '' runHook preCheck