zope.interface: FTBFS: ImportError: cannot import name 'Feature' from 'setuptools' (/usr/lib/python3/dist-packages/setuptools/__init__.py)

Bug #1892223 reported by Brian Murray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zope.interface
Fix Released
Unknown
zope.interface (Debian)
Fix Released
Unknown
zope.interface (Ubuntu)
Fix Released
High
Brian Murray

Bug Description

Imported from Debian bug http://bugs.debian.org/959555:

Source: zope.interface
Version: 4.7.1-2
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
> dh clean --with python3 --buildsystem=pybuild
> dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
> debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_clean
> 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 26, 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 -i python{version} -p 3.8 returned exit code 13
> make[1]: *** [debian/rules:67: override_dh_auto_clean] Error 25

The full build log is available from:
   http://qa-logs.debian.net/2020/05/01/zope.interface_4.7.1-2_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.

Tags: ftbfs groovy
tags: added: ftbfs groovy
Changed in zope.interface (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Brian Murray (brian-murray)
Changed in zope.interface:
status: Unknown → Fix Released
Changed in zope.interface (Debian):
importance: Undecided → Unknown
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package zope.interface - 4.7.1-2ubuntu1

---------------
zope.interface (4.7.1-2ubuntu1) groovy; urgency=medium

  * Add upstream patch which removes the deprecated use of setuptools
    Features. (LP: #1892223)

 -- Brian Murray <email address hidden> Wed, 19 Aug 2020 10:14:41 -0700

Changed in zope.interface (Ubuntu):
status: In Progress → Fix Released
Changed in zope.interface (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.