From 7ef8d800926f52270db13420ab1ac5f67e09bb82 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Mon, 14 Jul 2025 15:58:00 +0100 Subject: [PATCH] gnu: python-pytest-mypy: Update to 1.0.1. * gnu/packages/check.scm (python-pytest-mypy): Update to 1.0.1. [arguments] : 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 39b5e6426f8349d9edce8bd9c6c711c7bfc1a907..e83eb410de73d2423d804b0284596e8b549c20b6 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2932,17 +2932,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?)) @@ -2954,14 +2958,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")