Package: src:black Version: 20.8b1-3 Severity: important Tags: sid bullseye
The tests should neither use easy_install nor pip to run: it was: if [ "$DEB_HOST_ARCH" == "amd64" ]; then PYTHONPATH=/usr/lib/python3/dist-packages/ python3 setup.py test else echo "Skip the test execution on $DEB_HOST_ARCH" fi WARNING: The pip package is not available, falling back to EasyInstall for handling setup_requires/test_requires; this is deprecated and will be removed in a future version. running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. running egg_info it is now with setuptools 52 (removing easy_install): if [ "$DEB_HOST_ARCH" == "amd64" ]; then PYTHONPATH=/usr/lib/python3/dist-packages/ python3 setup.py test else echo "Skip the test execution on $DEB_HOST_ARCH" fi WARNING: The wheel package is not available. /usr/bin/python3: No module named pip Traceback (most recent call last): File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 75, in fetch_build_egg subprocess.check_call(cmd) File "/usr/lib/python3.9/subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmplyxhvuig', '--quiet', 'setuptools_scm']' returned non-zero exit status 1. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/tmp/autopkgtest-lxc.g4gjazay/downtmp/build.QhW/src/setup.py", line 49, in <module> setup( File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 152, in setup _install_setup_requires(attrs) File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 147, in _install_setup_requires dist.fetch_build_eggs(dist.setup_requires) File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 686, in fetch_build_eggs resolved_dists = pkg_resources.working_set.resolve( File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 766, in resolve dist = best[req.key] = env.best_match( File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1051, in best_match return self.obtain(req, installer) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1063, in obtain return installer(requirement) File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 745, in fetch_build_egg return fetch_build_egg(self, req) File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 77, in fetch_build_egg raise DistutilsError(str(e)) from e distutils.errors.DistutilsError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmplyxhvuig', '--quiet', 'setuptools_scm']' returned non-zero exit status 1.