guix_mirror_bot pushed a commit to branch master in repository guix. commit 54a8f15b2466db5510d928f56f57197930e5da64 Author: Andreas Enge <andr...@enge.fr> AuthorDate: Mon Sep 15 12:08:33 2025 +0200
gnu: Remove python-setuptools-for-tensorflow. * gnu/packages/python-xyz.scm (python-setuptools-for-tensorflow): Delete variable. Change-Id: I681ce2d7797042bef830135789f4b466bd1fa14c --- gnu/packages/python-xyz.scm | 39 --------------------------------------- 1 file changed, 39 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1ce913230b..5ab5806fae 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4886,45 +4886,6 @@ other machines, such as over the network.") @code{setup.cfg}.") (license license:asl2.0))) -;; The setuptools provided by Python 3.9 is too new for Tensorflow. -(define-public python-setuptools-for-tensorflow - (hidden-package - (package - (inherit python-setuptools) - (version "39.1.0") - (source (origin - (inherit (package-source python-setuptools)) - (uri (pypi-uri "setuptools" version ".zip")) - (sha256 - (base32 - "1mzdhvfhnv4lggxa8rjl0dzqxvfx377gg5sqs57v89wrp09lwj65")))) - (arguments - `(#:tests? #f ; tests require vendored resources - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'compatibility-fixes - (lambda _ - ;; Python 3.9 no longer has HTMLParser - (substitute* "setuptools/py33compat.py" - (("html_parser.HTMLParser\\(\\).unescape") - "html.unescape")) - ;; collections classes have moved in Python 3.10 - (substitute* "pkg_resources/_vendor/pyparsing.py" - (("collections.MutableMapping") - "collections.abc.MutableMapping") - (("collections.Iterable") - "collections.abc.Iterable")) - ;; This needs distutils.msvc9compiler - (delete-file "setuptools/tests/test_msvc.py") - ;; See https://github.com/pypa/setuptools/issues/2558 - (delete-file "setuptools/command/bdist_wininst.py") - (substitute* "setuptools/command/install_scripts.py" - (("bw_cmd =.*") "\n") - (("is_wininst =.*") - "is_wininst = False\n"))))))) - (native-inputs - (list python-pytest python-mock python-six))))) - (define-public python-uniseg (package (name "python-uniseg")