[Python-modules-team] Bug#959574: python-pyscss: FTBFS: ImportError: cannot import name 'Feature' from 'setuptools' (/usr/lib/python3/dist-packages/setuptools/__init__.py)

Lucas Nussbaum lucas at debian.org
Sun May 3 13:45:35 BST 2020


Source: python-pyscss
Version: 1.3.5-3
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200501 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
>  fakeroot debian/rules clean
> make: pyversions: Command not found
> py3versions: no X-Python3-Version in control file, using supported versions
> dh /usr/share/openstack-pkg-tools/pkgos.make --buildsystem=pybuild --with python3
> dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
> dh: error: Unknown sequence /usr/share/openstack-pkg-tools/pkgos.make (choose from: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep)
> dh clean --buildsystem=pybuild --with python3
> dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
>    dh_auto_clean -O--buildsystem=pybuild
> dh_auto_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use)
> I: pybuild base:217: python3.8 setup.py clean 
> Traceback (most recent call last):
>   File "setup.py", line 9, in <module>
>     from setuptools import setup, Extension, Feature
> ImportError: cannot import name 'Feature' from 'setuptools' (/usr/lib/python3/dist-packages/setuptools/__init__.py)
> E: pybuild pybuild:352: clean: plugin distutils failed with: exit code=1: python3.8 setup.py clean 
> dh_auto_clean: error: pybuild --clean --test-pytest -i python{version} -p 3.8 returned exit code 13
> make: *** [debian/rules:16: clean] Error 25

The full build log is available from:
   http://qa-logs.debian.net/2020/05/01/python-pyscss_1.3.5-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Python-modules-team mailing list