summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm39
1 files changed, 0 insertions, 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")