diff options
| author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2022-07-20 08:20:34 +0200 |
|---|---|---|
| committer | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2022-08-10 09:38:59 +0200 |
| commit | 0bba3ebf567942be9a3fa937b2657a7dc288fcfa (patch) | |
| tree | c4f334a07dcaf606a8108afe5819147454fc439f /gnu/packages/openstack.scm | |
| parent | cffb9967fe5037bba4da52438d4d2f57409db637 (diff) | |
gnu: python-oslo.context: Update to 5.0.0.
* gnu/packages/openstack.scm (python-oslo.context): Update to 5.0.0.
[native-inputs]: Remove python-bandit; add python-mypy.
[arguments]<phases>{relax-requirements}: Relax more requirements.
Diffstat (limited to 'gnu/packages/openstack.scm')
| -rw-r--r-- | gnu/packages/openstack.scm | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index ebe3f39f9ca..e2afad707b2 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm | |||
| @@ -523,30 +523,31 @@ for running external processes.") | |||
| 523 | (define-public python-oslo.context | 523 | (define-public python-oslo.context |
| 524 | (package | 524 | (package |
| 525 | (name "python-oslo.context") | 525 | (name "python-oslo.context") |
| 526 | (version "3.1.1") | 526 | (version "5.0.0") |
| 527 | (source | 527 | (source |
| 528 | (origin | 528 | (origin |
| 529 | (method url-fetch) | 529 | (method url-fetch) |
| 530 | (uri (pypi-uri "oslo.context" version)) | 530 | (uri (pypi-uri "oslo.context" version)) |
| 531 | (sha256 | 531 | (sha256 |
| 532 | (base32 | 532 | (base32 |
| 533 | "1l2z186rkd9acrb2ygf53yrdc1lgf7cy1akbhm21kgkzind4p2r6")))) | 533 | "091j2cjh1b60nx6s0a4amb2idh9awijnbmppc3an0738fv8cdh48")))) |
| 534 | (build-system python-build-system) | 534 | (build-system python-build-system) |
| 535 | (arguments | 535 | (arguments |
| 536 | `(#:phases (modify-phases %standard-phases | 536 | `(#:phases (modify-phases %standard-phases |
| 537 | (add-after 'unpack 'relax-requirements | 537 | (add-after 'unpack 'relax-requirements |
| 538 | (lambda _ | 538 | (lambda _ |
| 539 | (substitute* "test-requirements.txt" | 539 | (substitute* "test-requirements.txt" |
| 540 | (("hacking>=3.0.1,<3.1.0") | 540 | (("hacking[<>!=].*") "hacking\n") |
| 541 | "hacking>=3.0.1")) | 541 | ;; unused, code-quality checks only |
| 542 | #t))))) | 542 | (("bandit[<>!=]" line) (string-append "# " line)) |
| 543 | (("pre-commit[<>!=]" line) (string-append "# " line)))))))) | ||
| 543 | (propagated-inputs | 544 | (propagated-inputs |
| 544 | (list python-debtcollector)) | 545 | (list python-debtcollector)) |
| 545 | (native-inputs | 546 | (native-inputs |
| 546 | (list python-bandit | 547 | (list python-coverage |
| 547 | python-coverage | ||
| 548 | python-fixtures | 548 | python-fixtures |
| 549 | python-hacking | 549 | python-hacking |
| 550 | python-mypy | ||
| 550 | python-oslotest | 551 | python-oslotest |
| 551 | python-pbr | 552 | python-pbr |
| 552 | python-stestr)) | 553 | python-stestr)) |
