Summary: | dev-python/setuptools_scm-3.2.0 - ImportError: 'module' object has no attribute 'FILES_COMMAND' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | tonich <koprut> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | eike, leho, mmokrejs, ostroffjh, stoffepojken, whissi |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://trac.macports.org/ticket/57199 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 685518 | ||
Attachments: | build.log |
Description
tonich
2019-01-22 06:41:35 UTC
$ mkvirtualenv stools (stools) $ pip -v install --no-binary=:all: setuptools_scm works fine: (stools) $ pip list Package Version -------------- ------- pip 18.1 setuptools 40.6.3 setuptools-scm 3.2.0 wheel 0.32.3 Created attachment 562506 [details]
build.log
after removing of the old version of setuptools_scm # emerge -C setuptools_scm ... dev-python/setuptools_scm selected: 1.15.6-r1 protected: none omitted: none setuptools_scm-3.2.0 installed successfully I can confirm this issue and that the steps by tonich solved the issue for me. Also confirming the issue and the fix. Confirm bug, after removing setuptools-scm-1.15.7 it compiled without errors. Confirmed issue with 1.15.6 -> 3.2.0 and the fix. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d55fb2434771a28e4e0d8a8929bdb6212b4f32b commit 0d55fb2434771a28e4e0d8a8929bdb6212b4f32b Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2019-05-10 14:30:56 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-05-10 14:35:59 +0000 dev-python/setuptools_scm: Block old versions Block old versions since presence of one causes the build to fail. A better solution than a blocker would be preferred but after spending over an hour fighitng it I wasn't able to come up with one. Closes: https://bugs.gentoo.org/676024 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/setuptools_scm/setuptools_scm-3.2.0.ebuild | 1 + dev-python/setuptools_scm/setuptools_scm-3.3.1.ebuild | 1 + 2 files changed, 2 insertions(+) *** Bug 685752 has been marked as a duplicate of this bug. *** Is there anything that can be done so users aren't left with an unexpected and unexplained hard blocker that doesn't easily make any sense? How about a new item for a minimal heads up? *** Bug 689766 has been marked as a duplicate of this bug. *** Yeah, news item would've helped me. Although https://forums.gentoo.org/viewtopic-t-1092260-start-0.html was relatively easy to find on Google as well. |