Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 723486 - dev-python/zope-i18nmessageid-5.0.0 : ImportError: cannot import name Feature
Summary: dev-python/zope-i18nmessageid-5.0.0 : ImportError: cannot import name Feature
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL: https://github.com/zopefoundation/zop...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-17 12:32 UTC by Toralf Förster
Modified: 2020-08-18 14:59 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.05 KB, text/plain)
2020-05-17 12:32 UTC, Toralf Förster
Details
dev-python:zope-i18nmessageid-5.0.0:20200517-112520.log (dev-python:zope-i18nmessageid-5.0.0:20200517-112520.log,3.78 KB, text/plain)
2020-05-17 12:32 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,246.42 KB, text/plain)
2020-05-17 12:32 UTC, Toralf Förster
Details
environment (environment,115.85 KB, text/plain)
2020-05-17 12:32 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.12 KB, application/x-bzip)
2020-05-17 12:32 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.64 KB, application/x-bzip)
2020-05-17 12:32 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-05-17 12:32:30 UTC
  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"
Comment 1 Toralf Förster gentoo-dev 2020-05-17 12:32:33 UTC
Created attachment 639808 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-17 12:32:35 UTC
Created attachment 639810 [details]
dev-python:zope-i18nmessageid-5.0.0:20200517-112520.log
Comment 3 Toralf Förster gentoo-dev 2020-05-17 12:32:38 UTC
Created attachment 639812 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-05-17 12:32:41 UTC
Created attachment 639814 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-05-17 12:32:44 UTC
Created attachment 639816 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-05-17 12:32:46 UTC
Created attachment 639818 [details]
temp.tbz2
Comment 7 Reuben Farrelly 2020-08-03 08:49:00 UTC
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.
Comment 8 Larry the Git Cow gentoo-dev 2020-08-18 14:59:11 UTC
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(+)