summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-07-24 04:19:07 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-27 00:25:53 +0100
commit4b51d84e7bb815cd621f39a00a34ff44894cbb59 (patch)
tree196e1e77d052f4e26dc6fa18018407e66d4894b3
parent5383621f760f0a0d4ff201df5fc429f625a4ac06 (diff)
gnu: python-keystoneauth1: Update to 5.11.1.
* gnu/packages/openstack.scm (python-keystoneauth1): Update to 5.11.1. [build-system]: Switch to pyproject-build-system. [arguments]<#:phases>: Refresh them. [propagated-inputs]: Replace python-os-service-types by python-os-service-types-bootstrap. Add python-pbr, python-typing-extensions. [native-inputs]: Add python-setuptools, python-testtools, python-wheel. Remove python-pbr. Change-Id: I81ff4d755b81463de2d53561e99b251b4dd5e65e Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/openstack.scm100
1 files changed, 52 insertions, 48 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 47a5116d000..80326445ee5 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -997,55 +997,59 @@ handling.")
997(define-public python-keystoneauth1 997(define-public python-keystoneauth1
998 (package 998 (package
999 (name "python-keystoneauth1") 999 (name "python-keystoneauth1")
1000 (version "5.0.0") 1000 (version "5.11.1")
1001 (source (origin 1001 (source
1002 (method url-fetch) 1002 (origin
1003 (uri (pypi-uri "keystoneauth1" version)) 1003 (method url-fetch)
1004 (sha256 1004 (uri (pypi-uri "keystoneauth1" version))
1005 (base32 1005 (sha256
1006 "08s36dqxrxqx37sdl28cr7fx2iwr8wfxaa53hwq2dzcx9h25zfvf")))) 1006 (base32 "1wwicmgmga7ylyb2a15nh5y29r41vmxhyijs7ynjqjvzkg214vw0"))))
1007 (build-system python-build-system) 1007 (build-system pyproject-build-system)
1008 (arguments 1008 (arguments
1009 `(#:phases 1009 (list
1010 (modify-phases %standard-phases 1010 ;; XXX: Disable failing test.
1011 (add-after 'unpack 'relax-requirements 1011 #:test-flags
1012 (lambda _ 1012 #~(list "--exclude-regex" "test_keystoneauth_betamax_fixture")
1013 (substitute* "test-requirements.txt" 1013 #:phases
1014 (("hacking[<>!=].*") "hacking\n") 1014 #~(modify-phases %standard-phases
1015 ;; unused, code-quality checks only 1015 (add-after 'unpack 'relax-requirements
1016 (("flake8-.*[<>!=]" line) (string-append "# " line)) 1016 (lambda _
1017 (("pycodestyle[<>!=]" line) (string-append "# " line)) 1017 (substitute* "test-requirements.txt"
1018 (("bandit[<>!=]" line) (string-append "# " line)) 1018 ;; unused, code-quality checks only
1019 (("coverage[<>!=]" line) (string-append "# " line)) 1019 (("(hacking|coverage|bandit|reno)[<>!=]"
1020 (("reno[<>!=]" line) (string-append "# " line))))) 1020 line)
1021 (add-before 'check 'check-setup 1021 (string-append "# " line)))))
1022 (lambda _ 1022 (add-before 'check 'check-setup
1023 ;; remove code-quality checks 1023 (lambda _
1024 (delete-file "keystoneauth1/tests/unit/test_hacking_checks.py"))) 1024 ;; remove code-quality checks
1025 (replace 'check 1025 (delete-file "keystoneauth1/tests/unit/test_hacking_checks.py")))
1026 (lambda* (#:key tests? #:allow-other-keys) 1026 (replace 'check
1027 (when tests? 1027 (lambda* (#:key tests? test-flags #:allow-other-keys)
1028 (invoke "stestr" "run"))))))) 1028 (when tests?
1029 (propagated-inputs (list python-iso8601 1029 (apply invoke "stestr" "run" test-flags)))))))
1030 python-os-service-types 1030 (propagated-inputs
1031 python-requests 1031 (list python-iso8601
1032 python-six 1032 python-os-service-types-bootstrap
1033 python-stevedore)) 1033 python-pbr
1034 (native-inputs (list python-betamax 1034 python-requests
1035 python-fixtures 1035 python-stevedore
1036 python-hacking 1036 python-typing-extensions))
1037 python-lxml 1037 (native-inputs
1038 python-oauthlib 1038 (list python-betamax
1039 python-oslo-config 1039 python-fixtures
1040 python-oslo-utils 1040 python-lxml
1041 python-oslotest 1041 python-oauthlib
1042 python-pbr 1042 python-oslo-config
1043 python-pyyaml 1043 python-oslo-utils
1044 python-requests-kerberos 1044 python-oslotest
1045 python-requests-mock 1045 python-pyyaml
1046 python-stestr 1046 python-requests-kerberos
1047 python-testresources 1047 python-requests-mock
1048 python-testtools)) 1048 python-setuptools
1049 python-stestr
1050 python-testresources
1051 python-testtools
1052 python-wheel))
1049 (home-page "https://docs.openstack.org/keystoneauth/latest/") 1053 (home-page "https://docs.openstack.org/keystoneauth/latest/")
1050 (synopsis "Authentication Library for OpenStack Identity") 1054 (synopsis "Authentication Library for OpenStack Identity")
1051 (description "Keystoneauth provides a standard way to do authentication 1055 (description "Keystoneauth provides a standard way to do authentication