From 3f2ff57857c27969b8b95e6cc89a03ddd25701d3 Mon Sep 17 00:00:00 2001 From: Ryan Sundberg Date: Sun, 2 May 2021 22:59:10 -0700 Subject: [PATCH 09/55] Bring python-oslo.serialization package back in order Upgrade minor version to 2.29.3 from 2.24.0 --- gnu/packages/openstack.scm | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index bde6b22831..45f1621f47 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -544,17 +544,35 @@ configuration for all OpenStack projects. It also provides custom formatters, handlers and support for context specific logging (like resource id’s etc).") (license asl2.0))) +(define python-oslo.serialization-deps-patch + (plain-file "python-oslo.serialization-deps.patch" +"diff --git a/test-requirements.txt b/test-requirements.txt +index 72ae4ff..4b76d25 100644 +--- a/test-requirements.txt ++++ b/test-requirements.txt +@@ -1,7 +1,7 @@ + # The order of packages is significant, because pip processes them in the order + # of appearance. Changing the order has an impact on the overall integration + # process, which may cause wedges in the gate later. +-hacking>=1.1.0,<1.2.0 # Apache-2.0 ++hacking>=1.1.0 # Apache-2.0 + ipaddress>=1.0.17;python_version<'3.3' # PSF + mock>=2.0.0 # BSD + netaddr>=0.7.18 # BSD +")) + (define-public python-oslo.serialization (package (name "python-oslo.serialization") - (version "2.24.0") + (version "2.29.3") (source (origin (method url-fetch) (uri (pypi-uri "oslo.serialization" version)) (sha256 (base32 - "08bxkp98c617y58x630xq44iiffm7f0f3cwh6zbnlkgq0zgh7jk1")))) + "0sf2lgfi2kgcz5xif6lphipcphzfnygsyxfc226qjfnn788ql72m")) + (patches (list python-oslo.serialization-deps-patch)))) (build-system python-build-system) (propagated-inputs `(("python-msgpack" ,python-msgpack) @@ -565,9 +583,18 @@ handlers and support for context specific logging (like resource id’s etc).") (native-inputs `(("python-pbr" ,python-pbr) ;; Tests. + ("python-bandit" ,python-bandit) + ("python-coverage" ,python-coverage) + ("python-flake8" ,python-flake8) + ("python-hacking" ,python-hacking) + ("python-ipaddress" ,python-ipaddress) ("python-mock" ,python-mock) + ("python-openstackdocstheme" ,python-openstackdocstheme) ("python-oslo.i18n" ,python-oslo.i18n) - ("python-oslotest" ,python-oslotest))) + ("python-oslotest" ,python-oslotest) + ("python-reno" ,python-reno) + ("python-sphinx" ,python-sphinx) + ("python-stestr" ,python-stestr))) (home-page "https://launchpad.net/oslo") (synopsis "Oslo serialization library") (description -- 2.31.1