summaryrefslogtreecommitdiff
path: root/gnu/packages/openstack.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-11-18 22:24:31 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-11-19 21:56:58 -0500
commit9b1315a4adc9cbea6af7b0bfe045032af8aa81c4 (patch)
tree3129fadf62fbf889e30f9447d91dbf41d8bf4aeb /gnu/packages/openstack.scm
parent226b2af51a4fa936ccb4f6d35505f893808b7b31 (diff)
gnu: python-oslo: Update to 3.1.1.
* gnu/packages/openstack.scm (python-oslo): Update to 3.1.1. [phases]: Add new 'relax-requirements phase. [propagated-inputs]: Move python-pbr... [native-inputs]: ...here. Add python-bandit, python-coverage and python-stestr.
Diffstat (limited to 'gnu/packages/openstack.scm')
-rw-r--r--gnu/packages/openstack.scm23
1 files changed, 17 insertions, 6 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 5fa5a7928cd..4ed2948290d 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -433,22 +433,33 @@ common features used in Tempest.")
433(define-public python-oslo.context 433(define-public python-oslo.context
434 (package 434 (package
435 (name "python-oslo.context") 435 (name "python-oslo.context")
436 (version "2.20.0") 436 (version "3.1.1")
437 (source 437 (source
438 (origin 438 (origin
439 (method url-fetch) 439 (method url-fetch)
440 (uri (pypi-uri "oslo.context" version)) 440 (uri (pypi-uri "oslo.context" version))
441 (sha256 441 (sha256
442 (base32 442 (base32
443 "0iiq9rpwg6wrdqnhf3d8z8g0g7fjhs5zn6qw6igvxplz2c3rbvvx")))) 443 "1l2z186rkd9acrb2ygf53yrdc1lgf7cy1akbhm21kgkzind4p2r6"))))
444 (build-system python-build-system) 444 (build-system python-build-system)
445 (arguments
446 `(#:phases (modify-phases %standard-phases
447 (add-after 'unpack 'relax-requirements
448 (lambda _
449 (substitute* "test-requirements.txt"
450 (("hacking>=3.0.1,<3.1.0")
451 "hacking>=3.0.1"))
452 #t)))))
445 (propagated-inputs 453 (propagated-inputs
446 `(("python-debtcollector" ,python-debtcollector) 454 `(("python-debtcollector" ,python-debtcollector)))
447 ("python-pbr" ,python-pbr)))
448 (native-inputs 455 (native-inputs
449 `(("python-fixtures" ,python-fixtures) 456 `(("python-bandit" ,python-bandit)
457 ("python-coverage" ,python-coverage)
458 ("python-fixtures" ,python-fixtures)
450 ("python-hacking" ,python-hacking) 459 ("python-hacking" ,python-hacking)
451 ("python-oslotest" ,python-oslotest))) 460 ("python-oslotest" ,python-oslotest)
461 ("python-pbr" ,python-pbr)
462 ("python-stestr" ,python-stestr)))
452 (home-page "https://launchpad.net/oslo") 463 (home-page "https://launchpad.net/oslo")
453 (synopsis "Oslo context library") 464 (synopsis "Oslo context library")
454 (description 465 (description