epel7:
Execution of tests fail, even for python2 (on epel7) and version 2.5.5
of python-flake8. For now, I decided to continue with disabled python3
in epel7.
It seems there's need for a new version of python-pep8 with improved
API. The AttributeError is given for most of those test files so I
assume a core functionality is b0rken e.g. pyflakes (via _pyflakes.py
internally) too, besides engine:
ERROR: test_disables_extensions_that_are_not_selected
(flake8.tests.test_engine.TestEngine)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/builddir/build/BUILD/flake8-2.5.5/flake8/tests/test_engine.py", line
117, in test_disables_extensions_that_are_not_selected
sg = engine.get_style_guide()
File "/builddir/build/BUILD/flake8-2.5.5/flake8/engine.py", line 244,
in get_style_guide
options.exclude.extend(pep8.normalize_paths(EXTRA_EXCLUDE))
AttributeError: 'module' object has no attribute 'normalize_paths'
Request for package update:
https://bugzilla.redhat.com/show_bug.cgi?id=1388248
Maybe discussion should continue on epel mailing?
Am 03.05.20 um 15:33 schrieb Miro Hrončok:
> On 03. 05. 20 14:26, Raphael Groner wrote:
>> How can we proceed with an orphaned python-pep8 in Fedora that hosts
>> the epel7 branch, too? No idea if python-pep8 is an importand
>> dependency for python-tabulate
>
> No, it's not important, please don't lint the code on buildtime and
> drop the dependency.
>