Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 723282 - dev-python/mini-amf-0.9.1 : ImportError: cannot import name Feature from setuptools (/usr/lib/python3.7/site-packages/setuptools/_
Summary: dev-python/mini-amf-0.9.1 : ImportError: cannot import name Feature from setu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Joonas Niilola
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-15 19:22 UTC by Toralf Förster
Modified: 2020-05-16 06:21 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.69 KB, text/plain)
2020-05-15 19:22 UTC, Toralf Förster
Details
dev-python:mini-amf-0.9.1:20200515-191936.log (dev-python:mini-amf-0.9.1:20200515-191936.log,3.05 KB, text/plain)
2020-05-15 19:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,103.06 KB, text/plain)
2020-05-15 19:22 UTC, Toralf Förster
Details
environment (environment,115.45 KB, text/plain)
2020-05-15 19:22 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.23 KB, application/x-bzip)
2020-05-15 19:22 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.16 KB, application/x-bzip)
2020-05-15 19:22 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-15 19:22:28 UTC
  File setup.py, line 7, in <module>
    from setuptools import Feature, setup
ImportError: cannot import name Feature from setuptools (/usr/lib/python3.7/site-packages/setuptools/__init__.py)
 * ERROR: dev-python/mini-amf-0.9.1::gentoo failed (compile phase):
 *   (no error message)
 * 

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-libressl-20200513-084537

  -------------------------------------------------------------------

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]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.43.1 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.15.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri 15 May 2020 06:35:22 PM UTC
/var/db/repos/libressl	Sat 11 Apr 2020 05:02:25 AM UTC

emerge -qpvO dev-python/mini-amf
[ebuild  N    ] dev-python/mini-amf-0.9.1  USE="-doc -test" PYTHON_TARGETS="python3_7 -python3_6 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2020-05-15 19:22:31 UTC
Created attachment 639424 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-15 19:22:34 UTC
Created attachment 639426 [details]
dev-python:mini-amf-0.9.1:20200515-191936.log
Comment 3 Toralf Förster gentoo-dev 2020-05-15 19:22:37 UTC
Created attachment 639428 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-05-15 19:22:40 UTC
Created attachment 639430 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-05-15 19:22:42 UTC
Created attachment 639432 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-05-15 19:22:45 UTC
Created attachment 639434 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-05-16 06:21:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fbe303be888d0b46c8c520143ce42ccc998b77d

commit 8fbe303be888d0b46c8c520143ce42ccc998b77d
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2020-05-16 06:17:32 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-05-16 06:21:40 +0000

    dev-python/mini-amf: add a patch to compile with setuptools-46
    
    Closes: https://bugs.gentoo.org/723282
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../files/mini-amf-0.9.1-setuptools-46-fix.patch   | 54 ++++++++++++++++++++++
 ...i-amf-0.9.1.ebuild => mini-amf-0.9.1-r1.ebuild} |  3 +-
 2 files changed, 56 insertions(+), 1 deletion(-)