gnu: python-oslo-utils: Update to 7.4.0.

* gnu/packages/openstack.scm (python-oslo-utils): Update to 7.4.0.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-flags>: Disable failing tests.
<#:phases>: Refresh 'check phase.
[native-inputs]: Add python-setuptools, python-wheel,
qemu-minimal. Replace python-oslotest by python-oslotest-bootstrap.
[propagated-inputs]: Replace python-oslo-i18n by
python-oslo-i18n-bootstrap.  Add python-psutil, python-pyyaml,
python-tzdata.  Remove python-pytz.

Change-Id: I45dcd14ffb037dff313ae39f9d9ab3d43d9fa692
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-07-24 03:43:16 +02:00 committed by Sharlatan Hellseher
parent 160a1bebbf
commit a1af979ffc
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -42,6 +42,7 @@
#:use-module (gnu packages time) #:use-module (gnu packages time)
#:use-module (gnu packages tls) #:use-module (gnu packages tls)
#:use-module (gnu packages version-control) #:use-module (gnu packages version-control)
#:use-module (gnu packages virtualization)
#:use-module (gnu packages xml) #:use-module (gnu packages xml)
#:use-module (guix gexp) #:use-module (guix gexp)
#:use-module (guix build-system python) #:use-module (guix build-system python)
@ -812,39 +813,48 @@ for debugging, and better support for mocking results.")
(define-public python-oslo-utils (define-public python-oslo-utils
(package (package
(name "python-oslo-utils") (name "python-oslo-utils")
(version "4.12.0") (version "7.4.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "oslo.utils" version)) (uri (pypi-uri "oslo.utils" version))
(sha256 (sha256
(base32 (base32 "1kiynw1xhw88iimazjzmjrf4h8bzdyjyvkgj6jsz9p85m9fwnpda"))))
"0kfgr6lr3r34nzmkvnyywr0x3lkwpwy35m1dj4rkk3ydqvi1xaip")))) (build-system pyproject-build-system)
(build-system python-build-system)
(arguments (arguments
'(#:phases (modify-phases %standard-phases (list
(replace 'check ;; XXX: Disable failing test.
(lambda* (#:key tests? #:allow-other-keys) #:test-flags
(when tests? (invoke "stestr" "run"))))))) #~(list "--exclude-regex" "test_format_6_luks")
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? test-flags #:allow-other-keys)
(when tests?
(apply invoke "stestr" "run" test-flags)))))))
(propagated-inputs (propagated-inputs
(list python-debtcollector (list python-debtcollector
python-oslo-i18n
python-iso8601 python-iso8601
python-netaddr python-netaddr
python-netifaces python-netifaces
python-pbr python-oslo-i18n-bootstrap
python-packaging python-packaging
python-pbr
python-psutil
python-pyparsing python-pyparsing
python-pytz)) python-pyyaml
python-tzdata))
(native-inputs (native-inputs
;; For tests.
(list python-ddt (list python-ddt
python-eventlet python-eventlet
python-fixtures python-fixtures
python-oslotest python-oslotest-bootstrap
python-setuptools
python-stestr python-stestr
python-testscenarios python-testscenarios
python-testtools)) python-testtools
python-wheel
qemu-minimal))
(home-page "https://launchpad.net/oslo") (home-page "https://launchpad.net/oslo")
(synopsis "Oslo utility library") (synopsis "Oslo utility library")
(description (description