python3Packages.osc-lib: 4.5.0 -> 4.6.0
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user