diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-03-14 18:47:42 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-18 14:37:10 +0100 |
| commit | 7de95c0c18caf9a1f03445eedb66e16bae8a4177 (patch) | |
| tree | d10cc5db11871b98d2ae2f5f438cbabee4037d6e /gnu/packages/python-check.scm | |
| parent | 4d6c01253e0664767cfc6b6236a93909c9fa7706 (diff) | |
gnu: Add python-mypy-for-tests.
* gnu/packages/python-check.scm (python-mypy-for-tests): New variable.
Change-Id: I3a86b959ff5e55f8323600893d5eee7cf4bf5d99
Relates-to: guix/guix!7207
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-check.scm')
| -rw-r--r-- | gnu/packages/python-check.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index ffddd650bb..31146b4d4d 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1947,6 +1947,38 @@ typechecker.") (list python-setuptools python-wheel))))) +;; The python-mypy-for-tests variant should be used only in native-inputs of +;; packages with a large number of (indirect) dependents. This allows the main, +;; user-facing, python-mypy package to be refreshed freely without requiring +;; thousands of packages to be rebuild. python-mypy-for-tests should only be +;; updated on the python-team branch, and is allowed to lag behind python-mypy on +;; master. +(define-public python-mypy-for-tests + (hidden-package + (package + (inherit python-mypy) + (version "1.16.1") + (name "python-mypy-for-tests") + (source + (origin + (method url-fetch) + (uri (pypi-uri "mypy" version)) + (sha256 + (base32 "1avv8cj0qfhpw4s36bjhg994rml35fs4ndz78xg1r14l4050ml3b")))) + (native-inputs + (list nss-certs-for-test + python-lxml + python-psutil + python-pytest + python-pytest-xdist + python-setuptools + python-types-setuptools)) + (propagated-inputs + (list python-mypy-extensions + python-pathspec + python-tomli + python-typing-extensions))))) + (define-public python-nbmake (package (name "python-nbmake") |
