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