mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Update python-mypy to 0.910.
* gnu/packages/python-check.scm (python-mypy): Update to 0.910. [arguments]: Make --without-tests work with custom check phase. [propagated-inputs]: Add python-toml to fix missing import in mypyc. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
3852b9eb5b
commit
c2aa39d3ed
1 changed files with 6 additions and 4 deletions
|
@ -1343,7 +1343,7 @@ supported by the MyPy typechecker.")
|
||||||
(define-public python-mypy
|
(define-public python-mypy
|
||||||
(package
|
(package
|
||||||
(name "python-mypy")
|
(name "python-mypy")
|
||||||
(version "0.790")
|
(version "0.910")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
;; Because of https://github.com/python/mypy/issues/9584, the
|
;; Because of https://github.com/python/mypy/issues/9584, the
|
||||||
|
@ -1360,14 +1360,15 @@ supported by the MyPy typechecker.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0zq3lpdf9hphcklk40wz444h8w3dkhwa12mqba5j9lmg11klnhz7"))))
|
"16ryn9d48ilcs3yrkrm9ynx36qnv0gkdkc4sbafpagcqgr2f0mrg"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(invoke "pytest" "mypyc"))))))
|
(when tests?
|
||||||
|
(invoke "pytest" "mypyc")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-attrs" ,python-attrs)
|
`(("python-attrs" ,python-attrs)
|
||||||
("python-flake8" ,python-flake8)
|
("python-flake8" ,python-flake8)
|
||||||
|
@ -1383,6 +1384,7 @@ supported by the MyPy typechecker.")
|
||||||
("python-virtualenv" ,python-virtualenv)))
|
("python-virtualenv" ,python-virtualenv)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-mypy-extensions" ,python-mypy-extensions)
|
`(("python-mypy-extensions" ,python-mypy-extensions)
|
||||||
|
("python-toml" ,python-toml)
|
||||||
("python-typing-extensions" ,python-typing-extensions)
|
("python-typing-extensions" ,python-typing-extensions)
|
||||||
("python-typed-ast" ,python-typed-ast)))
|
("python-typed-ast" ,python-typed-ast)))
|
||||||
(home-page "http://www.mypy-lang.org/")
|
(home-page "http://www.mypy-lang.org/")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue