guix_mirror_bot pushed a commit to branch master
in repository guix.

commit a1af979ffcf4220b1da24001b2ac8fc14edd0764
Author: Nicolas Graves <[email protected]>
AuthorDate: Thu Jul 24 03:43:16 2025 +0200

    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 <[email protected]>
---
 gnu/packages/openstack.scm | 38 ++++++++++++++++++++++++--------------
 1 file changed, 24 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index f2d90a4f6c..a8c29309e8 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -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

Reply via email to