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.
This can be fixed by backporting https://github.com/pytest-dev/pytest-cov/commit/32d8c0665ea044f9682a89633d75442d1a4d2dc4
Pushed to dist git.