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 - python-portend fails to build with Python 3.9
Summary: python-portend fails to build with Python 3.9
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-portend
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Radez
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1827518
Blocks: F33FTBFS F33FailsToInstall PYTHON39
TreeView+ depends on / blocked
 
Reported: 2020-05-29 14:37 UTC by Igor Raits
Modified: 2020-06-01 11:55 UTC (History)
5 users (show)

Fixed In Version: python-portend-2.6-3.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-01 11:55:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.