* [bug#50712] [PATCH] gnu: Update python-mypy to 0.910.
@ 2021-09-20 23:13 raingloom
2021-09-26 17:51 ` bug#50712: " Efraim Flashner
0 siblings, 1 reply; 2+ messages in thread
From: raingloom @ 2021-09-20 23:13 UTC (permalink / raw)
To: 50712
* 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#50712: [PATCH] gnu: Update python-mypy to 0.910.
2021-09-20 23:13 [bug#50712] [PATCH] gnu: Update python-mypy to 0.910 raingloom
@ 2021-09-26 17:51 ` Efraim Flashner
0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2021-09-26 17:51 UTC (permalink / raw)
To: raingloom; +Cc: 50712-done
[-- Attachment #1: Type: text/plain, Size: 236 bytes --]
Thanks. Patch pushed.
--
Efraim Flashner <efraim@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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-26 17:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-20 23:13 [bug#50712] [PATCH] gnu: Update python-mypy to 0.910 raingloom
2021-09-26 17:51 ` bug#50712: " Efraim Flashner
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.