summary refs log tree commit diff
path: root/gnu/packages/openstack.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-01-12 19:31:03 +0100
committerMarius Bakke <marius@gnu.org>2022-01-12 23:50:17 +0100
commit850d2e8eef2c0ac9da52bbcbe13adb27260ca68d (patch)
tree59b3ec05660ad9c77b9126bab73440e4f8af5062 /gnu/packages/openstack.scm
parent1585ff1f336429cf64d09484f33c3e1b872602e6 (diff)
downloadguix-850d2e8eef2c0ac9da52bbcbe13adb27260ca68d.tar.gz
gnu: python-oslo.utils: Update to 4.12.0.
* gnu/packages/openstack.scm (python-oslo.utils): Update to 4.12.0.
[arguments]: Override check phase.
[propagated-inputs]: Remove PYTHON-MONOTONIC and PYTHON-SIX.  Add PYTHON-PBR
and PYTHON-PACKAGING-NEXT.
[native-inputs]: Remove PYTHON-PBR, PYTHON-BANDIT, PYTHON-OSLO.CONFIG,
PYTHON-MOCK and PYTHON-TESTREPOSITORY.  Add PYTHON-STESTR.
Diffstat (limited to 'gnu/packages/openstack.scm')
-rw-r--r--gnu/packages/openstack.scm26
1 files changed, 14 insertions, 12 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index bc16d142ef..f7e025041d 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -607,35 +607,37 @@ for debugging, and better support for mocking results.")
 (define-public python-oslo.utils
   (package
     (name "python-oslo.utils")
-    (version "3.36.2")
+    (version "4.12.0")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "oslo.utils" version))
         (sha256
           (base32
-           "1ipjcgg9z697wmibhcbg5lqpk5gafakdx4qkff3w255zr0mvw04r"))))
+           "0kfgr6lr3r34nzmkvnyywr0x3lkwpwy35m1dj4rkk3ydqvi1xaip"))))
     (build-system python-build-system)
+    (arguments
+     '(#:phases (modify-phases %standard-phases
+                  (replace 'check
+                    (lambda* (#:key tests? #:allow-other-keys)
+                      (when tests? (invoke "stestr" "run")))))))
     (propagated-inputs
       (list python-debtcollector
             python-oslo.i18n
             python-iso8601
-            python-monotonic
             python-netaddr
             python-netifaces
+            python-pbr
+            python-packaging-next
             python-pyparsing
-            python-pytz
-            python-six))
+            python-pytz))
     (native-inputs
-      (list python-pbr
-            ;; Tests.
-            python-bandit
-            python-ddt
+     ;; For tests.
+      (list python-ddt
+            python-eventlet
             python-fixtures
-            python-oslo.config
             python-oslotest
-            python-mock
-            python-testrepository
+            python-stestr
             python-testscenarios
             python-testtools))
     (home-page "https://launchpad.net/oslo")