Summary: | dev-python/setuptools_scm-7.1.0 fails test_pyproject_support test | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Paolo Pedroni <paolo.pedroni> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kingjon3377, mgorny |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | setuptools_scm-7.1.0:20230130-113043.log.gz |
Description
Paolo Pedroni
2023-01-30 15:30:04 UTC
What's your dev-python/flaky version? If it's 3.7.0-r2, could you try -r3? It removes the nose plugin that's probably causing this. (In reply to Michał Górny from comment #1) > What's your dev-python/flaky version? If it's 3.7.0-r2, could you try -r3? > It removes the nose plugin that's probably causing this. Same error with -r3. :( This is surprising. Do you have flaky_nose_plugin.py in site-packages then? If not, where would that text come from? (In reply to Michał Górny from comment #3) > This is surprising. Do you have flaky_nose_plugin.py in site-packages then? > If not, where would that text come from? No idea... $ equery f flaky * Searching for flaky ... * Contents of dev-python/flaky-3.7.0-r3: /usr /usr/lib /usr/lib/python3.10 /usr/lib/python3.10/site-packages /usr/lib/python3.10/site-packages/flaky /usr/lib/python3.10/site-packages/flaky-3.7.0.dist-info /usr/lib/python3.10/site-packages/flaky-3.7.0.dist-info/METADATA /usr/lib/python3.10/site-packages/flaky-3.7.0.dist-info/RECORD /usr/lib/python3.10/site-packages/flaky-3.7.0.dist-info/WHEEL /usr/lib/python3.10/site-packages/flaky-3.7.0.dist-info/entry_points.txt /usr/lib/python3.10/site-packages/flaky-3.7.0.dist-info/top_level.txt /usr/lib/python3.10/site-packages/flaky/__init__.py /usr/lib/python3.10/site-packages/flaky/__pycache__ /usr/lib/python3.10/site-packages/flaky/__pycache__/__init__.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/flaky/__pycache__/__init__.cpython-310.opt-2.pyc /usr/lib/python3.10/site-packages/flaky/__pycache__/__init__.cpython-310.pyc /usr/lib/python3.10/site-packages/flaky/__pycache__/_flaky_plugin.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/flaky/__pycache__/_flaky_plugin.cpython-310.opt-2.pyc /usr/lib/python3.10/site-packages/flaky/__pycache__/_flaky_plugin.cpython-310.pyc /usr/lib/python3.10/site-packages/flaky/__pycache__/defaults.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/flaky/__pycache__/defaults.cpython-310.opt-2.pyc /usr/lib/python3.10/site-packages/flaky/__pycache__/defaults.cpython-310.pyc /usr/lib/python3.10/site-packages/flaky/__pycache__/flaky_decorator.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/flaky/__pycache__/flaky_decorator.cpython-310.opt-2.pyc /usr/lib/python3.10/site-packages/flaky/__pycache__/flaky_decorator.cpython-310.pyc /usr/lib/python3.10/site-packages/flaky/__pycache__/flaky_pytest_plugin.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/flaky/__pycache__/flaky_pytest_plugin.cpython-310.opt-2.pyc /usr/lib/python3.10/site-packages/flaky/__pycache__/flaky_pytest_plugin.cpython-310.pyc /usr/lib/python3.10/site-packages/flaky/__pycache__/multiprocess_string_io.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/flaky/__pycache__/multiprocess_string_io.cpython-310.opt-2.pyc /usr/lib/python3.10/site-packages/flaky/__pycache__/multiprocess_string_io.cpython-310.pyc /usr/lib/python3.10/site-packages/flaky/__pycache__/names.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/flaky/__pycache__/names.cpython-310.opt-2.pyc /usr/lib/python3.10/site-packages/flaky/__pycache__/names.cpython-310.pyc /usr/lib/python3.10/site-packages/flaky/__pycache__/utils.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/flaky/__pycache__/utils.cpython-310.opt-2.pyc /usr/lib/python3.10/site-packages/flaky/__pycache__/utils.cpython-310.pyc /usr/lib/python3.10/site-packages/flaky/_flaky_plugin.py /usr/lib/python3.10/site-packages/flaky/defaults.py /usr/lib/python3.10/site-packages/flaky/flaky_decorator.py /usr/lib/python3.10/site-packages/flaky/flaky_pytest_plugin.py /usr/lib/python3.10/site-packages/flaky/multiprocess_string_io.py /usr/lib/python3.10/site-packages/flaky/names.py /usr/lib/python3.10/site-packages/flaky/utils.py /usr/share /usr/share/doc /usr/share/doc/flaky-3.7.0-r3 /usr/share/doc/flaky-3.7.0-r3/README.rst.bz2 $ find /usr/lib/ -iname flaky_nose_plugin.py $ I tried again and it worked... :-/ the only thing I can think of is that after installing flaky-3.7.0-r3, I tried setuptools_scm, and it didn't work. Then I ran 'emerge -c' and it cleaned a few packages (among them nose, twisted and a few more). Maybe there was a spurious 'flaky_nose_plugin.py' there? Ah, I see the problem! We're stripping the .py plugin file but not the entry point. Will fix in a minute. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=688e3a013cb8b7decac8a5f827c3f396a0f0ac73 commit 688e3a013cb8b7decac8a5f827c3f396a0f0ac73 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2023-02-01 12:35:07 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2023-02-01 13:18:22 +0000 dev-python/setuptools_scm: Skip problematic test w/ nose installed Closes: https://bugs.gentoo.org/892639 Signed-off-by: Michał Górny <mgorny@gentoo.org> .../setuptools_scm/setuptools_scm-7.1.0.ebuild | 23 ++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) |