gnu: python-mypy: Update to 0.971.

* gnu/packages/patches/python-mypy-12332.patch,
gnu/packages/patches/python-mypy-use-sys-path.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/python-check.scm (python-mypy): Update to 0.971.
[source](patches): Remove.
[arguments]: Skip one test.
This commit is contained in:
Marius Bakke 2022-08-15 22:13:53 +02:00
parent 1e969dafb7
commit 7e0116740b
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA
4 changed files with 6 additions and 206 deletions

View file

@ -1771,7 +1771,7 @@ supported by the MyPy typechecker.")
(define-public python-mypy
(package
(name "python-mypy")
(version "0.942")
(version "0.971")
(source
(origin
;; Because of https://github.com/python/mypy/issues/9584, the
@ -1788,10 +1788,7 @@ supported by the MyPy typechecker.")
(file-name (git-file-name name version))
(sha256
(base32
"0hxnrqhvskiclwfj2s4gyfclzjas1dvpfxhyng8v7mq38rqps1j5"))
(patches
(search-patches "python-mypy-12332.patch"
"python-mypy-use-sys-path.patch"))))
"0i8swdynms1wpiprgqn24za6mx8rlgxr2jash3cb5xi8jyf58n97"))))
(build-system python-build-system)
(arguments
`(#:phases
@ -1799,7 +1796,10 @@ supported by the MyPy typechecker.")
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "mypyc")))))))
(invoke "pytest" "-vv" "mypyc"
;; XXX: This test gets an unexpected DeprecationWarning
;; from recent versions of setuptools. Ignore for now.
"-k" "not testImports")))))))
(native-inputs
(list python-attrs
python-lxml