Bug 1841766
| Summary: | python-portend fails to build with Python 3.9 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Igor Raits <igor.raits> |
| Component: | python-portend | Assignee: | Dan Radez <dradez> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | adeza, dradez, igor.raits, jcaratza, mhroncok |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-portend-2.6-3.fc33 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-06-01 11:55:24 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1827518 | ||
| Bug Blocks: | 1785415, 1803234, 1803235 | ||
|
Description
Igor Raits
2020-05-29 14:37:42 UTC
+ /usr/bin/python3 -m pytest --ignore=build
============================= test session starts ==============================
platform linux -- Python 3.9.0b1, pytest-5.4.2, py-1.8.0, pluggy-0.13.0
rootdir: /builddir/build/BUILD/portend-2.6, inifile: pytest.ini
plugins: flake8-1.0.4, cov-2.8.1
collected 17 items
portend.py F..... [ 35%]
setup.py F [ 41%]
test_portend.py F........ [ 94%]
docs/conf.py F [100%]
=================================== FAILURES ===================================
_________________________________ FLAKE8-check _________________________________
/usr/lib/python3.9/site-packages/pluggy/hooks.py:286: in __call__
return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.9/site-packages/pluggy/manager.py:92: in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.9/site-packages/pluggy/manager.py:83: in <lambda>
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
/usr/lib/python3.9/site-packages/_pytest/runner.py:143: in pytest_runtest_call
raise e
/usr/lib/python3.9/site-packages/_pytest/runner.py:135: in pytest_runtest_call
item.runtest()
/usr/lib/python3.9/site-packages/pytest_flake8.py:110: in runtest
found_errors, out, err = call(
/usr/lib/python3.9/site-packages/py/_io/capture.py:150: in call
res = func(*args, **kwargs)
/usr/lib/python3.9/site-packages/pytest_flake8.py:182: in check_file
app.parse_preliminary_options_and_args(args)
E AttributeError: 'Application' object has no attribute 'parse_preliminary_options_and_args'
_________________________________ FLAKE8-check _________________________________
/usr/lib/python3.9/site-packages/pluggy/hooks.py:286: in __call__
return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.9/site-packages/pluggy/manager.py:92: in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.9/site-packages/pluggy/manager.py:83: in <lambda>
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
/usr/lib/python3.9/site-packages/_pytest/runner.py:143: in pytest_runtest_call
raise e
/usr/lib/python3.9/site-packages/_pytest/runner.py:135: in pytest_runtest_call
item.runtest()
/usr/lib/python3.9/site-packages/pytest_flake8.py:110: in runtest
found_errors, out, err = call(
/usr/lib/python3.9/site-packages/py/_io/capture.py:150: in call
res = func(*args, **kwargs)
/usr/lib/python3.9/site-packages/pytest_flake8.py:182: in check_file
app.parse_preliminary_options_and_args(args)
E AttributeError: 'Application' object has no attribute 'parse_preliminary_options_and_args'
_________________________________ FLAKE8-check _________________________________
/usr/lib/python3.9/site-packages/pluggy/hooks.py:286: in __call__
return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.9/site-packages/pluggy/manager.py:92: in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.9/site-packages/pluggy/manager.py:83: in <lambda>
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
/usr/lib/python3.9/site-packages/_pytest/runner.py:143: in pytest_runtest_call
raise e
/usr/lib/python3.9/site-packages/_pytest/runner.py:135: in pytest_runtest_call
item.runtest()
/usr/lib/python3.9/site-packages/pytest_flake8.py:110: in runtest
found_errors, out, err = call(
/usr/lib/python3.9/site-packages/py/_io/capture.py:150: in call
res = func(*args, **kwargs)
/usr/lib/python3.9/site-packages/pytest_flake8.py:182: in check_file
app.parse_preliminary_options_and_args(args)
E AttributeError: 'Application' object has no attribute 'parse_preliminary_options_and_args'
_________________________________ FLAKE8-check _________________________________
/usr/lib/python3.9/site-packages/pluggy/hooks.py:286: in __call__
return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.9/site-packages/pluggy/manager.py:92: in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.9/site-packages/pluggy/manager.py:83: in <lambda>
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
/usr/lib/python3.9/site-packages/_pytest/runner.py:143: in pytest_runtest_call
raise e
/usr/lib/python3.9/site-packages/_pytest/runner.py:135: in pytest_runtest_call
item.runtest()
/usr/lib/python3.9/site-packages/pytest_flake8.py:110: in runtest
found_errors, out, err = call(
/usr/lib/python3.9/site-packages/py/_io/capture.py:150: in call
res = func(*args, **kwargs)
/usr/lib/python3.9/site-packages/pytest_flake8.py:182: in check_file
app.parse_preliminary_options_and_args(args)
E AttributeError: 'Application' object has no attribute 'parse_preliminary_options_and_args'
That is https://github.com/tholo/pytest-flake8/issues/66
This was casued purely by the pytest-flake8 bug. |