guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 808e3ebc596427ac008d68ddc0121fe8ff6ffa53
Author: Nicolas Graves <[email protected]>
AuthorDate: Thu Jul 24 03:55:19 2025 +0200
gnu: python-os-testr: Update to 3.0.0.
* gnu/packages/openstack.scm (python-os-testr): Update to 3.0.0.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Add 'relax-requirements phase.
[native-inputs]: Add python-setuptools, python-wheel, python-ddt,
python-oslotest, python-testscenarios.
Change-Id: Icda2bb640078e765bad4f3d81b14a02c900122cc
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/openstack.scm | 29 ++++++++++++++++++++---------
1 file changed, 20 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index ae11f6a51c..017372310c 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -307,24 +307,35 @@ is for some reason not possible and local caching of the
fetched data.")
(define-public python-os-testr
(package
(name "python-os-testr")
- (version "2.0.1")
+ (version "3.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "os-testr" version))
(sha256
- (base32
- "10xaqg3wxly13652hdvh9c69y4s12ird0ircffya3kvpl5pky0pz"))))
- (build-system python-build-system)
+ (base32 "0vik5sjl0qhz6xqqg6gnaf5jva31m7xykyc0azb53jfq7y57ladv"))))
+ (build-system pyproject-build-system)
(arguments
- ;; os-testr uses itself to run the tests. It seems like pbr writes the
- ;; exectuable in the virtualenv when using tox. Not sure how to do this
- ;; when building the package. Skip the tests for now.
- `(#:tests? #f))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "test-requirements.txt"
+ (("(coverage|hacking).*")
+ "")))))))
(propagated-inputs
(list python-stestr))
(native-inputs
- (list python-babel python-pbr python-testrepository python-testtools))
+ (list python-babel
+ python-ddt
+ python-oslotest
+ python-pbr
+ python-setuptools
+ python-testrepository
+ python-testscenarios
+ python-testtools
+ python-wheel))
(home-page "https://www.openstack.org/")
(synopsis "Testr wrapper to provide functionality for OpenStack projects")
(description