From 98b4466d675d8052efc74b79f176efb33672865c Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Fri, 15 Jan 2021 15:20:01 -0500 Subject: [PATCH] gnu: Add python-mypy-minimal. * gnu/packages/python-check.scm (python-mypy-minimal): New variable. --- gnu/packages/python-check.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 6459359622..b26824b20f 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1096,6 +1096,20 @@ any Python VM with basically no runtime overhead.") ;; mypyc/lib-rt/getargs.c (license (list license:expat license:psfl)))) +;;; This variant exists to break a cycle between python-pylama and python-isort. +(define-public python-mypy-minimal + (hidden-package + (package + (inherit python-mypy) + (name "python-mypy-minimal") + (arguments + `(#:tests? #f + #:phases (modify-phases %standard-phases + ;; XXX: Fails with: "In procedure utime: No such file or + ;; directory". + (delete 'ensure-no-mtimes-pre-1980)))) + (native-inputs '())))) + (define-public python-robber (package (name "python-robber")