diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-03-14 18:47:42 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-24 10:19:41 +0100 |
| commit | a7e01f4e719467d82fc36d76f4bc4c1988dbd171 (patch) | |
| tree | 13d78fa5313e8d248aedad9f6866471a28af57a7 /gnu/packages/python-check.scm | |
| parent | 0ddc9b1c5a958cb28bf2d4fcaca8d88babdd4d5f (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 e5744da64e6..7d3fae1632d 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm | |||
| @@ -1947,6 +1947,38 @@ typechecker.") | |||
| 1947 | (list python-setuptools | 1947 | (list python-setuptools |
| 1948 | python-wheel))))) | 1948 | python-wheel))))) |
| 1949 | 1949 | ||
| 1950 | ;; The python-mypy-for-tests variant should be used only in native-inputs of | ||
| 1951 | ;; packages with a large number of (indirect) dependents. This allows the main, | ||
| 1952 | ;; user-facing, python-mypy package to be refreshed freely without requiring | ||
| 1953 | ;; thousands of packages to be rebuild. python-mypy-for-tests should only be | ||
| 1954 | ;; updated on the python-team branch, and is allowed to lag behind python-mypy on | ||
| 1955 | ;; master. | ||
| 1956 | (define-public python-mypy-for-tests | ||
| 1957 | (hidden-package | ||
| 1958 | (package | ||
| 1959 | (inherit python-mypy) | ||
| 1960 | (version "1.16.1") | ||
| 1961 | (name "python-mypy-for-tests") | ||
| 1962 | (source | ||
| 1963 | (origin | ||
| 1964 | (method url-fetch) | ||
| 1965 | (uri (pypi-uri "mypy" version)) | ||
| 1966 | (sha256 | ||
| 1967 | (base32 "1avv8cj0qfhpw4s36bjhg994rml35fs4ndz78xg1r14l4050ml3b")))) | ||
| 1968 | (native-inputs | ||
| 1969 | (list nss-certs-for-test | ||
| 1970 | python-lxml | ||
| 1971 | python-psutil | ||
| 1972 | python-pytest | ||
| 1973 | python-pytest-xdist | ||
| 1974 | python-setuptools | ||
| 1975 | python-types-setuptools)) | ||
| 1976 | (propagated-inputs | ||
| 1977 | (list python-mypy-extensions | ||
| 1978 | python-pathspec | ||
| 1979 | python-tomli | ||
| 1980 | python-typing-extensions))))) | ||
| 1981 | |||
| 1950 | (define-public python-nbmake | 1982 | (define-public python-nbmake |
| 1951 | (package | 1983 | (package |
| 1952 | (name "python-nbmake") | 1984 | (name "python-nbmake") |
