diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-11-22 18:30:25 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-13 20:23:29 +0000 |
| commit | e5a6faeb123c92678d941d6dd7dca3dd8c5c95e7 (patch) | |
| tree | 369076dd040eeb1d84cd22fb1921010ee8d12fb5 /gnu | |
| parent | b0b7fc0484d84885bde88e70ac4f429139a0188b (diff) | |
gnu: Remove python-typeguard-4.
* gnu/packages/python-xyz.scm (python-typeguard-4): Delete variable.
* gnu/packages/python-check.scm (python-icontract) [native-inputs]:
Remove python-typeguard-4; add python-typeguard.
* gnu/packages/python-science.scm (python-pandera) [propagated-inputs]:
Remove python-typeguard-4; add python-typeguard.
Change-Id: Ie20deee06629452c804fa6f62b1bd1f67038bc86
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-check.scm | 2 | ||||
| -rw-r--r-- | gnu/packages/python-science.scm | 2 | ||||
| -rw-r--r-- | gnu/packages/python-xyz.scm | 20 |
3 files changed, 2 insertions, 22 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 6b577175f73..1cb077ce86c 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm | |||
| @@ -412,7 +412,7 @@ nosetests, etc...) in Python projects.") | |||
| 412 | python-mypy | 412 | python-mypy |
| 413 | python-numpy | 413 | python-numpy |
| 414 | python-setuptools | 414 | python-setuptools |
| 415 | python-typeguard-4)) | 415 | python-typeguard)) |
| 416 | (propagated-inputs | 416 | (propagated-inputs |
| 417 | (list python-asttokens | 417 | (list python-asttokens |
| 418 | python-typing-extensions)) | 418 | python-typing-extensions)) |
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index b188f113aeb..42a64aed6e7 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm | |||
| @@ -1410,7 +1410,7 @@ idea of the remaining amount of computation to be done.") | |||
| 1410 | python-pandas-stubs ;mypy extra | 1410 | python-pandas-stubs ;mypy extra |
| 1411 | python-pydantic | 1411 | python-pydantic |
| 1412 | python-scipy ;hypotheses extra | 1412 | python-scipy ;hypotheses extra |
| 1413 | python-typeguard-4 | 1413 | python-typeguard |
| 1414 | python-typing-inspect | 1414 | python-typing-inspect |
| 1415 | python-wrapt)) | 1415 | python-wrapt)) |
| 1416 | (native-inputs (list python-dask ;dask extra | 1416 | (native-inputs (list python-dask ;dask extra |
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1410f65d298..78f924af88a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm | |||
| @@ -27548,26 +27548,6 @@ based on the CPython 2.7 and 3.7 parsers.") | |||
| 27548 | with PEP 484 argument (and return) type annotations.") | 27548 | with PEP 484 argument (and return) type annotations.") |
| 27549 | (license license:expat))) | 27549 | (license license:expat))) |
| 27550 | 27550 | ||
| 27551 | (define-public python-typeguard-4 | ||
| 27552 | (package | ||
| 27553 | (inherit python-typeguard) | ||
| 27554 | (name "python-typeguard") | ||
| 27555 | ;; This is the latest version we can use, because python-typeguard >= | ||
| 27556 | ;; 4.0.1 requires python-typing-extensions >= 4.7.0. | ||
| 27557 | (version "4.0.0") | ||
| 27558 | (source | ||
| 27559 | (origin | ||
| 27560 | (method url-fetch) | ||
| 27561 | (uri (pypi-uri "typeguard" version)) | ||
| 27562 | (sha256 | ||
| 27563 | (base32 "11yrc7pv2fajmicwiyc92sb5gphlw3zbxww8f2prrsh6rgdv6kqr")))) | ||
| 27564 | (build-system pyproject-build-system) | ||
| 27565 | (arguments | ||
| 27566 | (list #:test-flags '(list "--ignore=tests/mypy"))) | ||
| 27567 | (propagated-inputs (list python-typing-extensions)) | ||
| 27568 | (native-inputs (modify-inputs (package-native-inputs python-typeguard) | ||
| 27569 | (append python-setuptools python-wheel))))) | ||
| 27570 | |||
| 27571 | (define-public bpython | 27551 | (define-public bpython |
| 27572 | (package | 27552 | (package |
| 27573 | (name "bpython") | 27553 | (name "bpython") |
