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
This commit is contained in:
Sharlatan Hellseher 2025-07-16 17:00:01 +01:00
parent ab2370955f
commit 2458b08913
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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()}