guix_mirror_bot pushed a commit to branch python-team in repository guix. commit f331c64a0a23043862e0f9f9c0dbfd47681a02f1 Author: Sharlatan Hellseher <sharlata...@gmail.com> 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 632ace8d9e..080d3523c4 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -3013,17 +3013,21 @@ by the test.") (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?)) @@ -3035,14 +3039,11 @@ by the test.") (("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")