From 445ed41b9678a0d2af1c5e7a2bfdffe4e0efad61 Mon Sep 17 00:00:00 2001 From: Ryan Sundberg Date: Sat, 8 May 2021 22:55:27 -0700 Subject: [PATCH 38/55] python-keystoneclient: upgrade to latest (4.2.0) and fix tests --- gnu/packages/openstack.scm | 39 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index df17c4233c..30501cf3e0 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -921,50 +921,47 @@ handling.") (define-public python-keystoneclient (package (name "python-keystoneclient") - (version "1.8.1") + (version "4.2.0") (source (origin (method url-fetch) (uri (pypi-uri "python-keystoneclient" version)) (sha256 (base32 - "1w4csvkah67rfpxylxnvs2s3594i0f9isy8pf4gnsqs5zirvjaa4")))) + "12jsiw82x2zcn8sf78xisf85kr28gl3jqj46a0wxx59v91p44j02")))) (build-system python-build-system) (arguments - '(#:tests? #f)) ; FIXME: Many tests are failing. + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "stestr" "run") + #t))))) (native-inputs - `(("python-sphinx" ,python-sphinx) - ;; and some packages for the tests - ("openssl" ,openssl) + `(("openssl" ,openssl) + ("python-bandit" ,python-bandit) ("python-coverage" ,python-coverage) - ("python-discover" ,python-discover) ("python-fixtures" ,python-fixtures) - ("python-hacking" ,python-hacking) - ("python-keyring" ,python-keyring) + ("python-flake8-docstrings" ,python-flake8-docstrings) ("python-lxml" ,python-lxml) - ("python-mock" ,python-mock) - ("python-mox3" ,python-mox3) ("python-oauthlib" ,python-oauthlib) - ("python-oslosphinx" ,python-oslosphinx) + ("python-os-client-config" ,python-os-client-config) ("python-oslotest" ,python-oslotest) - ("python-pycrypto" ,python-pycrypto) ("python-requests-mock" ,python-requests-mock) - ("python-temptest-lib" ,python-tempest-lib) - ("python-testrepository" ,python-testrepository) + ("python-tempest-lib" ,python-tempest-lib) + ("python-stestr" ,python-stestr) ("python-testresources" ,python-testresources) + ("python-testscenarios" ,python-testscenarios) ("python-testtools" ,python-testtools) - ("python-webob" ,python-webob))) + ("which" ,which))) (propagated-inputs - `(("python-babel" ,python-babel) - ("python-debtcollector" ,python-debtcollector) - ("python-iso8601" ,python-iso8601) - ("python-netaddr" ,python-netaddr) + `(("python-debtcollector" ,python-debtcollector) + ("python-keystoneauth1" ,python-keystoneauth1) ("python-oslo.config" ,python-oslo.config) ("python-oslo.i18n" ,python-oslo.i18n) ("python-oslo.serialization" ,python-oslo.serialization) ("python-oslo.utils" ,python-oslo.utils) ("python-pbr" ,python-pbr) - ("python-prettytable" ,python-prettytable) ("python-requests" ,python-requests) ("python-six" ,python-six) ("python-stevedore" ,python-stevedore))) -- 2.31.1