GNU bug report logs -
#50712
[PATCH] gnu: Update python-mypy to 0.910.
Previous Next
Reported by: raingloom <raingloom <at> riseup.net>
Date: Tue, 21 Sep 2021 00:01:01 UTC
Severity: normal
Tags: patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sun, 26 Sep 2021 20:51:45 +0300
with message-id <YVCzMWMO+aDXBe/e <at> 3900XT>
and subject line Re: [bug#50712] [PATCH] gnu: Update python-mypy to 0.910.
has caused the debbugs.gnu.org bug report #50712,
regarding [PATCH] gnu: Update python-mypy to 0.910.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
50712: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50712
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
* 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.
---
gnu/packages/python-check.scm | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/python-check.scm
b/gnu/packages/python-check.scm index b8d63b8479..eeaedb9927 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1343,7 +1343,7 @@ supported by the MyPy typechecker.")
(define-public python-mypy
(package
(name "python-mypy")
- (version "0.790")
+ (version "0.910")
(source
(origin
;; 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))
(sha256
(base32
- "0zq3lpdf9hphcklk40wz444h8w3dkhwa12mqba5j9lmg11klnhz7"))))
+ "16ryn9d48ilcs3yrkrm9ynx36qnv0gkdkc4sbafpagcqgr2f0mrg"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda _
- (invoke "pytest" "mypyc"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "mypyc")))))))
(native-inputs
`(("python-attrs" ,python-attrs)
("python-flake8" ,python-flake8)
@@ -1383,6 +1384,7 @@ supported by the MyPy typechecker.")
("python-virtualenv" ,python-virtualenv)))
(propagated-inputs
`(("python-mypy-extensions" ,python-mypy-extensions)
+ ("python-toml" ,python-toml)
("python-typing-extensions" ,python-typing-extensions)
("python-typed-ast" ,python-typed-ast)))
(home-page "http://www.mypy-lang.org/")
--
2.33.0
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
Thanks. Patch pushed.
--
Efraim Flashner <efraim <at> flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 3 years and 237 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.