~ruther/guix-local

e5a6faeb123c92678d941d6dd7dca3dd8c5c95e7 — Sharlatan Hellseher 1 year, 6 months ago b0b7fc0
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
3 files changed, 2 insertions(+), 22 deletions(-)

M gnu/packages/python-check.scm
M gnu/packages/python-science.scm
M gnu/packages/python-xyz.scm
M gnu/packages/python-check.scm => gnu/packages/python-check.scm +1 -1
@@ 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))

M gnu/packages/python-science.scm => gnu/packages/python-science.scm +1 -1
@@ 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

M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +0 -20
@@ 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")