summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2025-02-12 08:35:33 +0100
committerAndreas Enge <andreas@enge.fr>2025-04-16 11:46:12 +0200
commitc080336271fd7737ab36d73d62a55fd0c172c62b (patch)
tree94fb9343eb9e520f17d038c5c4e2c1f08cfbfc9c
parentb9cfda4fa418aa354be57a067800b2a1aa0eff8d (diff)
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
-rw-r--r--gnu/packages/machine-learning.scm2
-rw-r--r--gnu/packages/python-xyz.scm21
2 files changed, 1 insertions, 22 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 4b339cff01..f894f8e425 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -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")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3b2f3306dd..3a7a92a19b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -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")