summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-01-12 19:36:36 +0100
committerMarius Bakke <marius@gnu.org>2022-01-12 23:50:17 +0100
commit4a6808226e1eb9796860aa9fa133e9c70c09e570 (patch)
treedf97952e9748645b3185ee6ffc96f35bc978cac4 /gnu
parent850d2e8eef2c0ac9da52bbcbe13adb27260ca68d (diff)
downloadguix-4a6808226e1eb9796860aa9fa133e9c70c09e570.tar.gz
gnu: python-oslo.serialization: Update to 4.2.0.
* gnu/packages/openstack.scm (python-oslo.serialization): Update to 4.2.0.
[arguments]: Override check phase.
[propagated-inputs]: Remove PYTHON-SIX and PYTHON-NETADDR.  Add PYTHON-PBR.
[native-inputs]: Remove PYTHON-PBR and PYTHON-MOCK.  Add PYTHON-NETADDR and
PYTHON-STESTR.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/openstack.scm17
1 files changed, 10 insertions, 7 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index f7e025041d..ae20eb6a59 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -491,22 +491,25 @@ handlers and support for context specific logging (like resource id’s etc).")
 (define-public python-oslo.serialization
   (package
     (name "python-oslo.serialization")
-    (version "2.24.0")
+    (version "4.2.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "oslo.serialization" version))
        (sha256
         (base32
-         "08bxkp98c617y58x630xq44iiffm7f0f3cwh6zbnlkgq0zgh7jk1"))))
+         "10sdgvyb0d3lcmb8b4l5gs40bkfbai08kvsdwp658dxd2yqf21rh"))))
     (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-msgpack python-netaddr python-oslo.utils python-six
-            python-pytz))
+      (list python-msgpack python-oslo.utils python-pbr python-pytz))
     (native-inputs
-      (list python-pbr
-            ;; Tests.
-            python-mock python-oslo.i18n python-oslotest))
+     ;; For tests.
+      (list python-netaddr python-oslo.i18n python-oslotest python-stestr))
     (home-page "https://launchpad.net/oslo")
     (synopsis "Oslo serialization library")
     (description