guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

13/19: gnu: python-oslo.context: Update to 5.0.0.


From: guix-commits
Subject: 13/19: gnu: python-oslo.context: Update to 5.0.0.
Date: Wed, 10 Aug 2022 03:52:23 -0400 (EDT)

htgoebel pushed a commit to branch master
in repository guix.

commit 0bba3ebf567942be9a3fa937b2657a7dc288fcfa
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Wed Jul 20 08:20:34 2022 +0200

    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.
---
 gnu/packages/openstack.scm | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index ebe3f39f9c..e2afad707b 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -523,30 +523,31 @@ for running external processes.")
 (define-public python-oslo.context
   (package
     (name "python-oslo.context")
-    (version "3.1.1")
+    (version "5.0.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "oslo.context" version))
        (sha256
         (base32
-         "1l2z186rkd9acrb2ygf53yrdc1lgf7cy1akbhm21kgkzind4p2r6"))))
+         "091j2cjh1b60nx6s0a4amb2idh9awijnbmppc3an0738fv8cdh48"))))
     (build-system python-build-system)
     (arguments
      `(#:phases (modify-phases %standard-phases
                   (add-after 'unpack 'relax-requirements
                     (lambda _
                       (substitute* "test-requirements.txt"
-                        (("hacking>=3.0.1,<3.1.0")
-                         "hacking>=3.0.1"))
-                      #t)))))
+                        (("hacking[<>!=].*") "hacking\n")
+                        ;; unused, code-quality checks only
+                        (("bandit[<>!=]" line) (string-append "# " line))
+                        (("pre-commit[<>!=]" line) (string-append "# " 
line))))))))
     (propagated-inputs
      (list python-debtcollector))
     (native-inputs
-     (list python-bandit
-           python-coverage
+     (list python-coverage
            python-fixtures
            python-hacking
+           python-mypy
            python-oslotest
            python-pbr
            python-stestr))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]