Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1841766

Summary: python-portend fails to build with Python 3.9
Product: [Fedora] Fedora Reporter: Igor Raits <igor.raits>
Component: python-portendAssignee: Dan Radez <dradez>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: 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: 1803234, 1803235, 1785415    

Description Igor Raits 2020-05-29 14:37:42 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (ignatenkobrain).

Your package (python-portend) Fails To Install in Fedora 33:

can't install python3-portend:
  - nothing provides python3.8dist(tempora) >= 1.8 needed by python3-portend-2.6-1.fc32.noarch
  
If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.

P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors.

P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/rawhide-gating/multi-builds/

Thanks!

Comment 1 Miro Hrončok 2020-06-01 11:35:03 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

Comment 2 Miro Hrončok 2020-06-01 11:55:24 UTC
This was casued purely by the pytest-flake8 bug.