summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2026-03-25 20:57:26 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-03-28 22:00:01 +0000
commitf0db9f5b357f896a37a1f763735506a89f4e68cd (patch)
tree3f6df76ac97e1ca9509f1bf52ac31b3b7e5dd416
parentc8bc423b874a9b5abd7804be4d96d9d4a24f3023 (diff)
gnu: python-pytest-mypy-plugins: Update to 4.0.0.
* gnu/packages/check.scm (python-pytest-mypy-plugins): Update to 4.0.0. [source]: Switch to git-fetch. [arguments]<#:test-flags>: Refresh failing tests. [native-inputs]: Remove python-wheel. Change-Id: I323658c2e4f9fc8aec0f4234dd9fbb4ed326e6dd Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/check.scm19
1 files changed, 13 insertions, 6 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index a625c5bdef9..a11991f026b 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2875,19 +2875,27 @@ a Pytest test execution.")
(define-public python-pytest-mypy-plugins
(package
(name "python-pytest-mypy-plugins")
- (version "3.1.2")
+ (version "4.0.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "pytest-mypy-plugins" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/TypedDjango/pytest-mypy-plugins")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1gpynypn13032by633dr2zhng54v2gl09kwgp3ysc4wpwl09pyhl"))))
+ (base32 "05vnv8m4qjrpyxw7f17wng6pnicvaps6vf8c6yn1a8lj10fkwazn"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
#~(list "-k" (string-join
(list "not reveal_type_extension_is_loaded"
+ ;; Unsupported operand types for / ("str" and "int")
+ "test_no_silence_site_packages_only"
+ "test_no_silence_site_packages_and_modify_pythonpath"
+ ;; subprocess.CalledProcessError
+ ;; pytest not found?
"test_pyproject_toml"
"test_ini_files")
" and not "))
@@ -2902,8 +2910,7 @@ a Pytest test execution.")
(with-directory-excursion "/tmp"
(apply invoke "pytest" "-v" test-flags))))))))
(native-inputs
- (list python-setuptools
- python-wheel))
+ (list python-setuptools))
(propagated-inputs
(list python-decorator
python-jinja2