sharlatan pushed a commit to branch python-team
in repository guix.
commit f1f96bc68424055d82e4a7d467daee31eb0c69b3
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Nov 22 18:30:25 2024 +0000
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
---
gnu/packages/python-check.scm | 2 +-
gnu/packages/python-science.scm | 2 +-
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 077a2b7888..d6001b1dff 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -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))
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index ac4339bece..19dce1f36e 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1362,7 +1362,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
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6836869bbc..5885685caa 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27441,26 +27441,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")