From c080336271fd7737ab36d73d62a55fd0c172c62b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 12 Feb 2025 08:35:33 +0100 Subject: [PATCH] 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 --- gnu/packages/machine-learning.scm | 2 +- gnu/packages/python-xyz.scm | 21 --------------------- 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 4b339cff0181ff316a5a7cde1ef5418ebbfbf837..f894f8e42594c0ea2cc80a3f3d9d03ea71d078e6 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 3b2f3306ddcb855f26ca0491c9700f1e9abcb62b..3a7a92a19ba4a827ae8b9b97287d53682344ed1e 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")