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
This commit is contained in:
Sharlatan Hellseher 2024-11-22 18:30:25 +00:00
parent b0b7fc0484
commit e5a6faeb12
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
3 changed files with 2 additions and 22 deletions

View file

@ -412,7 +412,7 @@ nosetests, etc...) in Python projects.")
python-mypy
python-numpy
python-setuptools
python-typeguard-4))
python-typeguard))
(propagated-inputs
(list python-asttokens
python-typing-extensions))

View file

@ -1410,7 +1410,7 @@ idea of the remaining amount of computation to be done.")
python-pandas-stubs ;mypy extra
python-pydantic
python-scipy ;hypotheses extra
python-typeguard-4
python-typeguard
python-typing-inspect
python-wrapt))
(native-inputs (list python-dask ;dask extra

View file

@ -27548,26 +27548,6 @@ based on the CPython 2.7 and 3.7 parsers.")
with PEP 484 argument (and return) type annotations.")
(license license:expat)))
(define-public python-typeguard-4
(package
(inherit python-typeguard)
(name "python-typeguard")
;; This is the latest version we can use, because python-typeguard >=
;; 4.0.1 requires python-typing-extensions >= 4.7.0.
(version "4.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "typeguard" version))
(sha256
(base32 "11yrc7pv2fajmicwiyc92sb5gphlw3zbxww8f2prrsh6rgdv6kqr"))))
(build-system pyproject-build-system)
(arguments
(list #:test-flags '(list "--ignore=tests/mypy")))
(propagated-inputs (list python-typing-extensions))
(native-inputs (modify-inputs (package-native-inputs python-typeguard)
(append python-setuptools python-wheel)))))
(define-public bpython
(package
(name "bpython")