| Summary: | dev-python/pytest-flake8-1.1.1 fails tests (MUSL) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
| Component: | Current packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | mgorny, titanofold, treecleaner |
| Priority: | Normal | Keywords: | PMASKED |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.log | ||
|
Description
Agostino Sarubbo
2022-08-21 14:43:27 UTC
Created attachment 800347 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern:
except KeyError:
except AttributeError:
"E AttributeError: module 'flake8.options.config' has no attribute "
' except KeyError:
' except AttributeError:
'failed': 0,
'failed': 1,
'failed': 2,
'message="AttributeError: module \'flake8.options.config\' has no attribute '
'passed': 0,
'passed': 1,
'passed': 2,
'skipped': 0,
'xfailed': 0,
'xpassed': 0}
'xpassed': 0} == {'errors': 0,
'
E and: "E AttributeError: module 'flake8.options.config' has no attribute 'ConfigFileFinder'"
E and: "FAILED hello.py::flake-8::FLAKE8 - AttributeError: module 'flake8.options.con..."
E and: "FAILED test_keyword_match.py::flake-8::FLAKE8 - AttributeError: module 'flake..."
E and: "FAILED test_mtime_caching.py::flake-8::FLAKE8 - AttributeError: module 'flake..."
E and: "FAILED test_w293w292.py::flake-8::FLAKE8 - AttributeError: module 'flake8.opt..."
E and: ' except KeyError:'
E and: ' except AttributeError:'
E AssertionError: assert {'errors': 0,
E AttributeError: module 'flake8.options.config' has no attribute 'ConfigFileFinder'
FAILED hello.py::flake-8::FLAKE8 - AttributeError: module 'flake8.options.con...
FAILED pytest_flake8.py::flake-8::FLAKE8 - AttributeError: module 'flake8.opt...
FAILED setup.py::flake-8::FLAKE8 - AttributeError: module 'flake8.options.con...
FAILED test_flake8.py::TestIgnores::test_default_flake8_ignores - AssertionEr...
FAILED test_flake8.py::TestIgnores::test_ignores_all - AssertionError: assert...
FAILED test_flake8.py::TestIgnores::test_mtime_caching - Failed: nomatch: '*W...
FAILED test_flake8.py::TestIgnores::test_w293w292 - Failed: nomatch: '*W293*'
FAILED test_flake8.py::flake-8::FLAKE8 - AttributeError: module 'flake8.optio...
FAILED test_flake8.py::test_junit_classname - AssertionError: assert {'errors...
FAILED test_flake8.py::test_keyword_match - Failed: nomatch: '*E201*'
FAILED test_flake8.py::test_ok_verbose - AssertionError: assert {'errors': 0,...
FAILED test_flake8.py::test_run_on_init_file - AssertionError: assert {'error...
FAILED test_junit_classname.py::flake-8::FLAKE8 - AttributeError: module 'fla...
FAILED test_keyword_match.py::flake-8::FLAKE8 - AttributeError: module 'flake...
FAILED test_mtime_caching.py::flake-8::FLAKE8 - AttributeError: module 'flake...
FAILED test_ok_verbose.py::flake-8::FLAKE8 - AttributeError: module 'flake8.o...
FAILED test_w293w292.py::flake-8::FLAKE8 - AttributeError: module 'flake8.opt...
FAILED tests/__init__.py::flake-8::FLAKE8 - AttributeError: module 'flake8.op...
FAILED tests/hello.py::flake-8::FLAKE8 - AttributeError: module 'flake8.optio...
FAILED xy.py::flake-8::FLAKE8 - AttributeError: module 'flake8.options.config...
I can reproduce. It doesn't work against current deps in Gentoo, and the ToT is broken as well. FWICS it's not really maintained [1] and has no revdeps in ::gentoo. [1] https://github.com/tholo/pytest-flake8/issues/91 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7273cec3bee69245be1e5bc7755f111031c1574 commit d7273cec3bee69245be1e5bc7755f111031c1574 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2023-02-17 13:05:43 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2023-02-17 13:07:10 +0000 package.mask: Last rite dev-python/pytest-flake8 Bug: https://bugs.gentoo.org/865931 Signed-off-by: Michał Górny <mgorny@gentoo.org> profiles/package.mask | 6 ++++++ 1 file changed, 6 insertions(+) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42e5284d13d47db8ed571742c8b0675c4acb4ab2 commit 42e5284d13d47db8ed571742c8b0675c4acb4ab2 Author: David Seifert <soap@gentoo.org> AuthorDate: 2023-03-19 19:35:34 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2023-03-19 19:35:34 +0000 dev-python/pytest-flake8: treeclean Closes: https://bugs.gentoo.org/669860 Closes: https://bugs.gentoo.org/865931 Signed-off-by: David Seifert <soap@gentoo.org> dev-python/pytest-flake8/Manifest | 1 - dev-python/pytest-flake8/metadata.xml | 17 ------------ .../pytest-flake8/pytest-flake8-1.1.1.ebuild | 30 ---------------------- profiles/package.mask | 6 ----- 4 files changed, 54 deletions(-) |