From 2f66c990b9b632fd92465b7b0ee9ff92c1d391b2 Mon Sep 17 00:00:00 2001 From: Ryan Sundberg Date: Wed, 5 May 2021 23:46:12 -0700 Subject: [PATCH 23/55] python-oslo.serialization: upgrade to latest (4.1.0) --- gnu/packages/openstack.scm | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 6d40b18ac7..9964e90ae9 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -631,53 +631,56 @@ handlers and support for context specific logging (like resource id’s etc).") (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 +index 145e8f7..7227d6c 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 +-hacking>=3.0.1,<3.1.0 # Apache-2.0 ++hacking>=3.0.1 # Apache-2.0 netaddr>=0.7.18 # BSD + stestr>=2.0.0 # Apache-2.0 + +@@ -10,6 +10,6 @@ oslo.i18n>=3.15.3 # Apache-2.0 + coverage!=4.4,>=4.0 # Apache-2.0 + + # Bandit security code scanner +-bandit>=1.6.0,<1.7.0 # Apache-2.0 ++bandit>=1.6.0 # Apache-2.0 + + pre-commit>=2.6.0 # MIT ")) (define-public python-oslo.serialization (package (name "python-oslo.serialization") - (version "2.29.3") + (version "4.1.0") (source (origin (method url-fetch) (uri (pypi-uri "oslo.serialization" version)) (sha256 (base32 - "0sf2lgfi2kgcz5xif6lphipcphzfnygsyxfc226qjfnn788ql72m")) + "0yakvsja145y89j3r7njg826ig0rmyrw5mnvf35qav40vya7gk6f")) (patches (list python-oslo.serialization-deps-patch)))) (build-system python-build-system) (propagated-inputs `(("python-msgpack" ,python-msgpack) - ("python-netaddr" ,python-netaddr) ("python-oslo.utils" ,python-oslo.utils) - ("python-six" ,python-six) ("python-pytz" ,python-pytz))) (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-netaddr" ,python-netaddr) ("python-oslo.i18n" ,python-oslo.i18n) ("python-oslotest" ,python-oslotest) - ("python-reno" ,python-reno) - ("python-sphinx" ,python-sphinx) + ("python-packaging" ,python-packaging) + ("python-pre-commit" ,python-pre-commit) ("python-stestr" ,python-stestr))) (home-page "https://launchpad.net/oslo") (synopsis "Oslo serialization library") -- 2.31.1