File setup.py, line 25, in <module> from setuptools import setup, find_packages, Extension, Feature ImportError: cannot import name Feature * ERROR: dev-python/zope-i18nmessageid-5.0.0::gentoo failed (compile phase): * (no error message) * ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no-multilib_hardened-20200512-011504 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10.1.0 * clang version 10.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 (fallback) [3] python3.6 (fallback) [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.43.1 * The Glorious Glasgow Haskell Compilation System, version 8.0.2 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Sat 16 May 2020 11:35:21 AM UTC emerge -qpvO dev-python/zope-i18nmessageid [ebuild N ] dev-python/zope-i18nmessageid-5.0.0 USE="-test" PYTHON_TARGETS="python2_7 python3_7 -pypy3 -python3_6 -python3_8"
Created attachment 639808 [details] emerge-info.txt
Created attachment 639810 [details] dev-python:zope-i18nmessageid-5.0.0:20200517-112520.log
Created attachment 639812 [details] emerge-history.txt
Created attachment 639814 [details] environment
Created attachment 639816 [details] etc.portage.tbz2
Created attachment 639818 [details] temp.tbz2
This bug is fixed in zope-i18nmessageid 5.0.1 and would be resolved by bumping the package in portage from 5.0.0 to 5.0.1. It's due to some deprecated functions in setuptools. https://github.com/zopefoundation/zope.i18nmessageid/issues/22 I ran into the same issue, and bumping to 5.0.1 resolved it for me.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3ae590dc5ecd4e8d7f43e1f39243b75f9ddc55a commit c3ae590dc5ecd4e8d7f43e1f39243b75f9ddc55a Author: Sam James <sam@gentoo.org> AuthorDate: 2020-08-16 06:23:18 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-08-18 14:58:55 +0000 dev-python/zope-i18nmessageid: bump to 5.0.1 * Adds Python 3.9 * Fixes buildtime issue with newer setuptools Closes: https://bugs.gentoo.org/723486 Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Sam James <sam@gentoo.org> dev-python/zope-i18nmessageid/Manifest | 1 + .../zope-i18nmessageid-5.0.1.ebuild | 33 ++++++++++++++++++++++ 2 files changed, 34 insertions(+)