gnu: Use old setuptools in packages that relies on use_2to3 conversion.

This fixes a regression since 520cdf8058 where
the use_2to3 functionality was removed from setuptools.

* gnu/packages/graph.scm (python-louvain)[native-inputs]: Change from
PYTHON-SETUPTOOLS to PYTHON-SETUPTOOLS-57.
* gnu/packages/python-check.scm (python-parameterizedtestcase)[native-inputs]:
Likewise.
* gnu/packages/python-xyz.scm (python-anyjson)[native-inputs]: Add
PYTHON-SETUPTOOLS-57.
* gnu/packages/bioinformatics.scm (python-pyvcf)[native-inputs]: Change from
PYTHON-SETUPTOOLS-FOR-TENSORFLOW to PYTHON-SETUPTOOLS-57.
This commit is contained in:
Marius Bakke 2023-01-07 14:11:55 +01:00
parent a47c475678
commit edbacab995
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA
4 changed files with 4 additions and 4 deletions

View file

@ -16782,7 +16782,7 @@ (define-public python-pyvcf
"/vcf/test")))))))
(native-inputs
;; Older setuptools is needed for use_2to3.
(list python-cython python-setuptools-for-tensorflow))
(list python-cython python-setuptools-57))
(propagated-inputs
(list python-pysam python-rpy2))
(home-page "https://github.com/jamescasbon/PyVCF")

View file

@ -295,7 +295,7 @@ (define-public python-louvain
(base32 "0sx53l555rwq0z7if8agirjgw4ddp8r9b949wwz8vlig03sjvfmp"))))
(build-system python-build-system)
(native-inputs
(list python-setuptools)) ;for use_2to3 support
(list python-setuptools-57)) ;for use_2to3 support
(propagated-inputs
(list python-networkx python-numpy))
(home-page "https://github.com/taynaud/python-louvain")

View file

@ -2268,7 +2268,7 @@ (define-public python-parameterizedtestcase
(sha256
(base32 "0zhjmsd16xacg4vd7zb75kw8q9khn52wvad634v1bvz7swaivk2c"))))
(build-system python-build-system)
(native-inputs (list python-setuptools)) ;for use_2to3
(native-inputs (list python-setuptools-57)) ;for use_2to3
(home-page
"https://github.com/msabramo/python_unittest_parameterized_test_case")
(synopsis "Parameterized tests for Python's unittest module")

View file

@ -15847,8 +15847,8 @@ (define-public python-anyjson
;; whatever) so this transformation needs to be done before the tests
;; can be run. Maybe we could add a build step to transform beforehand
;; but it could be annoying/difficult.
;; We can enable tests for the Python 2 version, though, and do below.
#:tests? #f))
(native-inputs (list python-setuptools-57)) ;for use_2to3 support
(home-page "https://bitbucket.org/runeh/anyjson/")
(synopsis
"Wraps best available JSON implementation in a common interface")