guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 2b79995614e7c79ae339df9fa5a058b39ab38579
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Jul 14 15:58:00 2025 +0100
gnu: python-pytest-mypy: Update to 1.0.1.
* gnu/packages/check.scm (python-pytest-mypy): Update to 1.0.1.
[arguments] <test-flags>: Respect parallel jobs count; deselect one
failing test.
[propagated-inputs]: Remove python-attrs.
[native-inputs]: Remove python-pexpect and python-wheel.
Change-Id: Ief9fdc73a02bbd062a3221fe87d3bb1d0f019301
---
gnu/packages/check.scm | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 0e47686ee3..f300ad7590 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2919,17 +2919,21 @@ failures.")
(define-public python-pytest-mypy
(package
(name "python-pytest-mypy")
- (version "0.10.3")
+ (version "1.0.1")
(source
(origin
(method url-fetch)
- (uri (pypi-uri "pytest-mypy" version))
+ (uri (pypi-uri "pytest_mypy" version))
(sha256
- (base32 "1nyk9xxkwb03sp6avn5l4ysncybnyw4ibrp2lcn3mw934dj8yigq"))))
+ (base32 "0x60ap70ix4blavrwih9aglp3ghviv1frxccnv3cq3f8fpzwlprz"))))
(build-system pyproject-build-system)
(arguments
(list
- #:test-flags #~(list "--numprocesses" "auto")
+ #:test-flags
+ #~(list "--numprocesses" (number->string (parallel-job-count))
+ "-p" "no:mypy"
+ ;; Fails to compare warnings.
+
"--deselect=tests/test_pytest_mypy.py::test_mypy_encoding_warnings")
#:phases
(if (or (target-riscv64?)
(target-ppc64le?))
@@ -2941,14 +2945,11 @@ failures.")
(("60\\.0") "180.0")))))
#~%standard-phases)))
(native-inputs
- (list python-pexpect
- python-pytest-xdist
+ (list python-pytest-xdist
python-setuptools
- python-setuptools-scm
- python-wheel))
+ python-setuptools-scm))
(propagated-inputs
- (list python-attrs
- python-filelock
+ (list python-filelock
python-mypy
python-pytest))
(home-page "https://github.com/dbader/pytest-mypy")