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 1706065

Summary: python-pytest-pep8 FTBFS in rawhide/F31
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-pytest-pep8Assignee: Orion Poplawski <orion>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: cstratak, orion
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-pytest-pep8-1.0.6-19.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-05 20:38:19 UTC Type: Bug
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:    
Bug Blocks: 1700317, 1671167, 1686977, 1732841    
Attachments:
Description Flags
build.log from Koji
none
root.log from Koji none

Description Miro Hrončok 2019-05-03 13:10:28 UTC
Created attachment 1562440 [details]
build.log from Koji

python-pytest-pep8-1.0.6-18.fc31 fails to build with pytest 4:

Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.pxwrHo
+ umask 022
+ cd /builddir/build/BUILD
+ cd pytest-pep8-1.0.6
++ pwd
+ PYTHONPATH=/builddir/build/BUILD/pytest-pep8-1.0.6
+ py.test-3.7 -r s .
============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-4.4.1, py-1.8.0, pluggy-0.9.0
rootdir: /builddir/build/BUILD/pytest-pep8-1.0.6, inifile: tox.ini
plugins: pep8-1.0.6
collected 13 items
pytest_pep8.py .                                                         [  7%]
setup.py .                                                               [ 15%]
test_pep8.py ....Exx....                                                 [100%]
==================================== ERRORS ====================================
_________________ ERROR at setup of TestIgnores.test_w293w292 __________________
file /builddir/build/BUILD/pytest-pep8-1.0.6/test_pep8.py, line 45
      def test_w293w292(self, testdir, example):
E       fixture 'example' not found
>       available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, linecomp, monkeypatch, pytestconfig, record_property, record_xml_attribute, recwarn, testdir, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory
>       use 'pytest --fixtures [testpath]' for help on them.
/builddir/build/BUILD/pytest-pep8-1.0.6/test_pep8.py:45
================ 10 passed, 2 xfailed, 1 error in 1.98 seconds =================
/usr/lib/python3.7/site-packages/pep8.py:110: FutureWarning: Possible nested set at position 1
  EXTRANEOUS_WHITESPACE_REGEX = re.compile(r'[[({] | []}),;:]')
error: Bad exit status from /var/tmp/rpm-tmp.pxwrHo (%check)

Full logs attached.

This blocks the Python 3.8 rebuild.

Comment 1 Miro Hrončok 2019-05-03 13:11:06 UTC
Created attachment 1562441 [details]
root.log from Koji