diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-07-24 04:23:33 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-27 00:25:53 +0100 |
| commit | 5837d65acd47a68f571d937841ff4d26a9da26d4 (patch) | |
| tree | 5ee789d26e37463dc1d00a4113a51a0265e867ca /gnu/packages/openstack.scm | |
| parent | 4b51d84e7bb815cd621f39a00a34ff44894cbb59 (diff) | |
gnu: python-keystoneclient: Update to 5.6.0.
* gnu/packages/openstack.scm (python-keystoneclient): Update to 5.6.0.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Add phases 'remove-failing-tests, 'check.
Refresh phase 'relax-requirements.
[native-inputs]: Add python-bandit, python-tempest, python-setuptools,
python-wheel.
[propagated-inputs]: Remove python-babel, python-debtcollector,
python-iso8601, python-netaddr, python-prettytable, python-six. Add
python-packaging, python-pbr.
Change-Id: I11901435aed3a596bc43f89d328f9d8d7d0c7a1a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/openstack.scm')
| -rw-r--r-- | gnu/packages/openstack.scm | 56 |
1 files changed, 32 insertions, 24 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 80326445ee5..2ed7ba01537 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm | |||
| @@ -1061,30 +1061,39 @@ process of writing new clients.") | |||
| 1061 | (define-public python-keystoneclient | 1061 | (define-public python-keystoneclient |
| 1062 | (package | 1062 | (package |
| 1063 | (name "python-keystoneclient") | 1063 | (name "python-keystoneclient") |
| 1064 | (version "5.0.0") | 1064 | (version "5.6.0") |
| 1065 | (source | 1065 | (source |
| 1066 | (origin | 1066 | (origin |
| 1067 | (method url-fetch) | 1067 | (method url-fetch) |
| 1068 | (uri (pypi-uri "python-keystoneclient" version)) | 1068 | (uri (pypi-uri "python_keystoneclient" version)) |
| 1069 | (sha256 | 1069 | (sha256 |
| 1070 | (base32 | 1070 | (base32 |
| 1071 | "0gza5fx3xl3l6vrc6pnhbzhipz1fz9h98kwxqp7mmd90pwrxll0g")))) | 1071 | "1rqhxvych2a41dxlizz0qy37vs8jcxxy4kk7khw7c03iqypf47bj")))) |
| 1072 | (build-system python-build-system) | 1072 | (build-system pyproject-build-system) |
| 1073 | (arguments | 1073 | (arguments |
| 1074 | '(#:tests? #f ; FIXME: Many tests are failing. | 1074 | (list |
| 1075 | #:phases (modify-phases %standard-phases | 1075 | #:phases |
| 1076 | (add-after 'unpack 'relax-requirements | 1076 | #~(modify-phases %standard-phases |
| 1077 | (lambda _ | 1077 | (add-after 'unpack 'remove-failing-tests |
| 1078 | (substitute* "test-requirements.txt" | 1078 | (lambda _ |
| 1079 | ;; unused, code-quality checks only | 1079 | ;; XXX: Mostly tests for outdated os-client-config. |
| 1080 | (("hacking[<>!=]" line) (string-append "# " line)) | 1080 | (delete-file-recursively "keystoneclient/tests/functional/v3"))) |
| 1081 | (("flake8-.*[<>!=]" line) (string-append "# " line)) | 1081 | (replace 'check |
| 1082 | (("pycodestyle[<>!=]" line) (string-append "# " line)) | 1082 | (lambda* (#:key tests? test-flags #:allow-other-keys) |
| 1083 | (("bandit[<>!=]" line) (string-append "# " line)) | 1083 | (when tests? |
| 1084 | (("coverage[<>!=]" line) (string-append "# " line)) | 1084 | (apply invoke "stestr" "run" test-flags)))) |
| 1085 | (("reno[<>!=]" line) (string-append "# " line)))))))) | 1085 | (add-after 'unpack 'relax-requirements |
| 1086 | (lambda _ | ||
| 1087 | (substitute* "test-requirements.txt" | ||
| 1088 | ;; XXX: Outdated/discontinued. | ||
| 1089 | (("os-client-config[<>!=]" line) (string-append "# " line)) | ||
| 1090 | ;; unused, code-quality checks only | ||
| 1091 | (("(hacking|flake8-.*|pycodestyle|coverage|bandit|reno)[<>!=]" | ||
| 1092 | line) | ||
| 1093 | (string-append "# " line)))))))) | ||
| 1086 | (native-inputs | 1094 | (native-inputs |
| 1087 | (list openssl | 1095 | (list openssl |
| 1096 | python-bandit | ||
| 1088 | python-fixtures | 1097 | python-fixtures |
| 1089 | python-keyring | 1098 | python-keyring |
| 1090 | python-lxml | 1099 | python-lxml |
| @@ -1093,24 +1102,23 @@ process of writing new clients.") | |||
| 1093 | python-oslotest | 1102 | python-oslotest |
| 1094 | python-pbr | 1103 | python-pbr |
| 1095 | python-requests-mock | 1104 | python-requests-mock |
| 1105 | python-setuptools | ||
| 1096 | python-stestr | 1106 | python-stestr |
| 1107 | python-tempest | ||
| 1097 | python-tempest-lib | 1108 | python-tempest-lib |
| 1098 | python-testresources | 1109 | python-testresources |
| 1099 | python-testscenarios | 1110 | python-testscenarios |
| 1100 | python-testtools)) | 1111 | python-testtools |
| 1112 | python-wheel)) | ||
| 1101 | (propagated-inputs | 1113 | (propagated-inputs |
| 1102 | (list python-babel | 1114 | (list python-keystoneauth1 |
| 1103 | python-debtcollector | ||
| 1104 | python-iso8601 | ||
| 1105 | python-keystoneauth1 | ||
| 1106 | python-netaddr | ||
| 1107 | python-oslo-config | 1115 | python-oslo-config |
| 1108 | python-oslo-i18n | 1116 | python-oslo-i18n |
| 1109 | python-oslo-serialization | 1117 | python-oslo-serialization |
| 1110 | python-oslo-utils | 1118 | python-oslo-utils |
| 1111 | python-prettytable | 1119 | python-packaging |
| 1120 | python-pbr | ||
| 1112 | python-requests | 1121 | python-requests |
| 1113 | python-six | ||
| 1114 | python-stevedore)) | 1122 | python-stevedore)) |
| 1115 | (home-page "https://www.openstack.org/") | 1123 | (home-page "https://www.openstack.org/") |
| 1116 | (synopsis "Client Library for OpenStack Identity") | 1124 | (synopsis "Client Library for OpenStack Identity") |
