guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit cd7363bdb40981ca74b508723217c4060ae3b422
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Jul 16 17:00:01 2025 +0100
gnu: python-pytest-subtests: Update to 0.14.2.
* gnu/packages/python-check.scm (python-pytest-subtests): Update to 0.14.2.
[build-system]: Use pyproject.
[arguments] <phases>: Use default 'check.
[propagated-inputs]: Add python-attrs.
[native-inputs]: Remove python-pytest; add python-pytest-bootstrap,
python-setuptools, and python-wheel.
Change-Id: I26b878f3a540428b55ab626e1baa55206a6556c8
---
gnu/packages/python-check.scm | 24 +++++++++++-------------
1 file changed, 11 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 4f66bdcfaa..45d000ba7a 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -3177,23 +3177,21 @@ through Python's socket interface")
(define-public python-pytest-subtests
(package
(name "python-pytest-subtests")
- (version "0.10.0")
+ (version "0.14.2")
(source
(origin
(method url-fetch)
- (uri (pypi-uri "pytest-subtests" version))
+ (uri (pypi-uri "pytest_subtests" version))
(sha256
- (base32 "05zvnxx0hdrd9w4z51qhchg3nkz5s47agryw68g8q7krq5kim5nr"))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
- (when tests?
- (add-installed-pythonpath inputs outputs)
- (invoke "python" "-m" "pytest")))))))
- (native-inputs (list python-pytest python-setuptools-scm))
+ (base32 "1ph0z3a0lywzfw7illl3khydqffi8im2203dlxqfwa6mbxkahm3i"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest-bootstrap
+ python-setuptools
+ python-setuptools-scm
+ python-wheel))
+ (propagated-inputs
+ (list python-attrs))
(home-page "https://github.com/pytest-dev/pytest-subtests")
(synopsis "Unittest subTest() support and subtests fixture")
(description "This Pytest plugin provides unittest @code{subTest()}