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 1788811 - python-pytest-cov fails to build with Python 3.9
Summary: python-pytest-cov fails to build with Python 3.9
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pytest-cov
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON39
TreeView+ depends on / blocked
 
Reported: 2020-01-08 07:26 UTC by Miro Hrončok
Modified: 2020-01-18 19:20 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-18 19:20:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2020-01-08 07:26:49 UTC
python-pytest-cov fails to build with Python 3.9.0a2.

____________________________ test_contexts[nodist] _____________________________
/builddir/build/BUILD/pytest-cov-2.8.1/tests/test_pytest_cov.py:2011: in test_contexts
    assert line_data[label] == actual, "Wrong lines for context {!r}".format(context)
E   AssertionError: Wrong lines for context 'test_contexts.py::OldStyleTests::test_03|run'
E   assert [28, 31, 34, 35] == [34, 35, 28, 31]
E     At index 0 diff: 28 != 34
E     Full diff:
E     - [28, 31, 34, 35]
E     + [34, 35, 28, 31]

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-x86_64/01140922-python-pytest-cov/

For all our attempts to build python-pytest-cov with Python 3.9, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/python-pytest-cov/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.9:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/

Let us know here if you have any questions.

Python 3.9 will be included in Fedora 33, but the initial bootstrapping has already started.
A build failure this early in the bootstrap sequence blocks us very much.

Comment 1 Charalampos Stratakis 2020-01-08 14:06:44 UTC
This can be fixed by backporting https://github.com/pytest-dev/pytest-cov/commit/32d8c0665ea044f9682a89633d75442d1a4d2dc4

Comment 2 Miro Hrončok 2020-01-18 19:20:39 UTC
Pushed to dist git.


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