gnu: Remove python-contextlib2.

This was a backport of the Python 3.10 version of contextlib.

* gnu/packages/python-xyz.scm (python-contextlib2): Remove variable.
* gnu/packages/machine-learning.scm (python-ml-collections)
[propagated-inputs]: Remove it.

Change-Id: I47e4eccf98d8caa18235008e94a0849e21975a68
This commit is contained in:
Ricardo Wurmus 2025-02-12 08:35:33 +01:00 committed by Andreas Enge
parent b9cfda4fa4
commit c080336271
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3
2 changed files with 1 additions and 22 deletions

View file

@ -447,7 +447,7 @@ machine learning algorithms based on GPs.")
;; class, not config_dict_test.
"-k" "not testJSONConversionBestEffort")))))))
(propagated-inputs
(list python-absl-py python-contextlib2 python-pyyaml python-six))
(list python-absl-py python-pyyaml python-six))
(native-inputs (list python-mock python-pytest python-setuptools
python-wheel))
(home-page "https://github.com/google/ml_collections")

View file

@ -20040,27 +20040,6 @@ connection pool.")
@code{ArgumentParser} object.")
(license license:asl2.0)))
(define-public python-contextlib2
(package
(name "python-contextlib2")
(version "0.6.0.post1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "contextlib2" version))
(sha256
(base32
"0bhnr2ac7wy5l85ji909gyljyk85n92w8pdvslmrvc8qih4r1x01"))))
(build-system python-build-system)
(home-page "https://contextlib2.readthedocs.org/")
(synopsis "Tools for decorators and context managers")
(description "This module is primarily a backport of the Python
3.2 contextlib to earlier Python versions. Like contextlib, it
provides utilities for common tasks involving decorators and context
managers. It also contains additional features that are not part of
the standard library.")
(license license:psfl)))
(define-public python-contexttimer
(package
(name "python-contexttimer")