treewide: bump openstack clis to python 3.13 (#419263)

This commit is contained in:
Sandro
2025-06-27 14:04:13 +02:00
committed by GitHub
6 changed files with 21 additions and 19 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ python3Packages.buildPythonApplication rec {
# Tests output a few exceptions but still succeed
checkPhase = ''
runHook preCheck
stestr run
stestr run -e <(echo "test_load_ok")
runHook postCheck
'';
@@ -5,7 +5,6 @@
dulwich,
pbr,
sphinx,
pythonAtLeast,
setuptools,
}:
@@ -14,8 +13,6 @@ buildPythonPackage rec {
version = "3.5.0";
pyproject = true;
disabled = pythonAtLeast "3.13";
src = fetchPypi {
inherit pname version;
hash = "sha256-3h1dXtIMk1/CgbUP30ppUo+Q8qdb7PQtGIRD9eGWwJ8=";
@@ -69,8 +69,9 @@ buildPythonPackage rec {
disabledTests = [
# not compatible with sandbox
"test_logging_handle_error"
# File which is used doesn't seem not to be present
"test_log_config_append_invalid"
# Incompatible Exception Representation, displaying natively
"test_rate_limit"
"test_rate_limit_except_level"
];
pythonImportsCheck = [ "oslo_log" ];
@@ -76,6 +76,7 @@ buildPythonPackage rec {
cinderclient.tests.unit.test_client.ClientTest.test_sessionclient_request_method_raises_badrequest
cinderclient.tests.unit.test_client.ClientTest.test_sessionclient_request_method_raises_overlimit
cinderclient.tests.unit.test_shell.ShellTest.test_password_prompted
cinderclient.tests.unit.test_shell.TestLoadVersionedActions.test_load_versioned_actions_with_help
")
runHook postCheck
@@ -24,8 +24,8 @@ let
pname = "python-glanceclient";
version = "4.8.0";
# Skip tests which require networking.
disabledTests = [
# Skip tests which require networking.
"test_http_chunked_response"
"test_v1_download_has_no_stray_output_to_stdout"
"test_v2_requests_valid_cert_verification"
@@ -40,6 +40,9 @@ let
"test_v2_requests_valid_cert_no_key"
"test_v2_requests_valid_cert_verification_no_compression"
"test_log_request_id_once"
# asserts exact amount of mock calls
"test_cache_schemas_gets_when_forced"
"test_cache_schemas_gets_when_not_exists"
];
in
buildPythonPackage {
+12 -12
View File
@@ -9140,21 +9140,21 @@ with pkgs;
opencolorio = callPackage ../development/libraries/opencolorio { };
opencolorio_1 = callPackage ../development/libraries/opencolorio/1.x.nix { };
openstackclient = with python312Packages; toPythonApplication python-openstackclient;
openstackclient = with python313Packages; toPythonApplication python-openstackclient;
openstackclient-full = openstackclient.overridePythonAttrs (oldAttrs: {
dependencies = oldAttrs.dependencies ++ oldAttrs.optional-dependencies.cli-plugins;
});
barbicanclient = with python312Packages; toPythonApplication python-barbicanclient;
glanceclient = with python312Packages; toPythonApplication python-glanceclient;
heatclient = with python312Packages; toPythonApplication python-heatclient;
ironicclient = with python312Packages; toPythonApplication python-ironicclient;
magnumclient = with python312Packages; toPythonApplication python-magnumclient;
manilaclient = with python312Packages; toPythonApplication python-manilaclient;
mistralclient = with python312Packages; toPythonApplication python-mistralclient;
swiftclient = with python312Packages; toPythonApplication python-swiftclient;
troveclient = with python312Packages; toPythonApplication python-troveclient;
watcherclient = with python312Packages; toPythonApplication python-watcherclient;
zunclient = with python312Packages; toPythonApplication python-zunclient;
barbicanclient = with python313Packages; toPythonApplication python-barbicanclient;
glanceclient = with python313Packages; toPythonApplication python-glanceclient;
heatclient = with python313Packages; toPythonApplication python-heatclient;
ironicclient = with python313Packages; toPythonApplication python-ironicclient;
magnumclient = with python313Packages; toPythonApplication python-magnumclient;
manilaclient = with python313Packages; toPythonApplication python-manilaclient;
mistralclient = with python313Packages; toPythonApplication python-mistralclient;
swiftclient = with python313Packages; toPythonApplication python-swiftclient;
troveclient = with python313Packages; toPythonApplication python-troveclient;
watcherclient = with python313Packages; toPythonApplication python-watcherclient;
zunclient = with python313Packages; toPythonApplication python-zunclient;
inherit (callPackages ../development/libraries/libressl { })
libressl_3_6