From 20591361e11097d483fc9860b14a7439567878d2 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 10 Apr 2025 16:03:42 +0100 Subject: [PATCH] gnu: Remove python-webcolors-24. It's the same variant as python-webcolors. * gnu/packages/python-web.scm (python-webcolors-24): Delete variable. * gnu/packages/python-xyz.scm (python-jsonschema) [propagated-inputs]: Remove python-webcolors-24; add python-webcolors. Change-Id: Iaa1db96aaf95618ecef5e8560472b1122e18f009 --- gnu/packages/python-web.scm | 32 -------------------------------- gnu/packages/python-xyz.scm | 2 +- 2 files changed, 1 insertion(+), 33 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 0c32b9ab48e613adfe901eb55fc6f106a02b0cc9..3ce78d45d8f352f55c364ac290959d2a7a15e364 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -9831,38 +9831,6 @@ Only the RGB colorspace is supported. Conversion to/from the HSL colorspace can be handled by the @code{colorsys} module in the Python standard library.") (license license:bsd-3))) -(define-public python-webcolors-24 - (package - (inherit python-webcolors) - (name "python-webcolors") - (version "24.11.1") - (source - (origin - (method url-fetch) - (uri (pypi-uri "webcolors" version)) - (sha256 - (base32 "1xl0vn4xa03vjwx6fj19q9kgb94g65gvdf3p0ivsy0i2ydldgczc")))) - (build-system pyproject-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-build-error - (lambda _ - ;; pdm wants optional-dependencies instead of dependency-groups. - ;; See . - (substitute* "pyproject.toml" - (("\\[dependency-groups\\]") - "[project.optional-dependencies]")))) - (replace 'check - (lambda* (#:key tests? inputs outputs #:allow-other-keys) - (when tests? - (add-installed-pythonpath inputs outputs) - ;; Our python-nox version is incompatible, - ;; so use pytest instead. - (invoke "pytest"))))))) - (native-inputs (list python-pdm-backend python-pytest)) - (license license:bsd-3))) - (define-public python-woob (package (name "python-woob") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index ae4d28dc8622782c632be454016cc40e5b59680f..58f8d66e2df67e2e65f858d8a78e9f758aa5cc87 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6841,7 +6841,7 @@ and convert DDL to BigQuery JSON schema.") python-referencing-bootstrap python-rpds-py python-uri-template - python-webcolors-24)) + python-webcolors)) (home-page "https://github.com/Julian/jsonschema") (synopsis "Implementation of JSON Schema for Python") (description