Description of problem: Package python-pytest-cov fails to build from source in Fedora Rawhide. Due to reasons described in https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/XO5QGOXBWHFG7AOGDQBG23AQDS2MDTWI/ a rebuild of python-pytest-cov is needed in Fedora Rawhide (44) and Fedora 43. Version-Release number of selected component (if applicable): 5.0.0-5.fc43 Steps to Reproduce: fedpkg build Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/python-pytest-cov ============================= test session starts ============================== platform linux -- Python 3.14.0rc2, pytest-8.3.5, pluggy-1.6.0 rootdir: /builddir/build/BUILD/python-pytest-cov-5.0.0-build/pytest-cov-5.0.0 configfile: pytest.ini testpaths: tests plugins: cov-5.0.0, xdist-3.7.0 collected 130 items / 18 deselected / 112 selected tests/test_pytest_cov.py ........F....s................................. [ 41%] .............................s...............................sss. [100%] =================================== FAILURES =================================== _____________ test_term_report_does_not_interact_with_html_output ______________ /builddir/build/BUILD/python-pytest-cov-5.0.0-build/pytest-cov-5.0.0/tests/test_pytest_cov.py:295: in test_term_report_does_not_interact_with_html_output assert sorted(dest_dir.visit('**/*.html')) == [dest_dir.join('index.html'), dest_dir.join('test_funcarg_py.html')] E AssertionError: assert [local('/tmp/...arg_py.html')] == [local('/tmp/...arg_py.html')] E E At index 0 diff: local('/tmp/pytest-of-mockbuild/pytest-0/test_term_report_does_not_interact_with_html_output0/cov_dest/class_index.html') != local('/tmp/pytest-of-mockbuild/pytest-0/test_term_report_does_not_interact_with_html_output0/cov_dest/index.html') E Left contains 2 more items, first extra item: local('/tmp/pytest-of-mockbuild/pytest-0/test_term_report_does_not_interact_with_html_output0/cov_dest/index.html') E Use -v to get more diff ----------------------------- Captured stdout call ----------------------------- running: /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_term_report_does_not_interact_with_html_output0/runpytest-0 -v --cov=/tmp/pytest-of-mockbuild/pytest-0/test_term_report_does_not_interact_with_html_output0 --cov-report=term-missing:skip-covered --cov-report=html:cov_dest /tmp/pytest-of-mockbuild/pytest-0/test_term_report_does_not_interact_with_html_output0/test_funcarg.py --basetemp=/tmp/pytest-of-mockbuild/pytest-0/basetemp in: /tmp/pytest-of-mockbuild/pytest-0/test_term_report_does_not_interact_with_html_output0 ============================= test session starts ============================== platform linux -- Python 3.14.0rc2, pytest-8.3.5, pluggy-1.6.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_term_report_does_not_interact_with_html_output0 plugins: cov-5.0.0, xdist-3.7.0 collecting ... collected 1 item test_funcarg.py::test_foo PASSED [100%] -------- coverage: platform linux, python 3.14.0-candidate-2 --------- Name Stmts Miss Cover Missing ------------------------------------- TOTAL 3 0 100% 1 file skipped due to complete coverage. Coverage HTML written to dir cov_dest ============================== 1 passed in 0.11s =============================== =========================== short test summary info ============================ ... FAILED tests/test_pytest_cov.py::test_term_report_does_not_interact_with_html_output ===== 1 failed, 106 passed, 5 skipped, 18 deselected in 281.44s (0:04:41) ======
Hello. This is a bulk comment. This package still needs to be rebuilt and/or shipped with Python 3.14.0rc2+ bytecode in Fedora 43. The Beta Freeze of Fedora 43 is scheduled to start today. Please prioritize this bugzilla accordingly. Thanks.
Hello. This is a bulk comment. This package still needs to be rebuilt and/or shipped with Python 3.14.0rc3+ bytecode in Fedora 43. The Final Freeze of Fedora 43 is scheduled to start on 2025-10-07. Please prioritize this bugzilla accordingly. Thanks.
Hello. This is a bulk comment. This package still needs to be rebuilt and/or shipped with Python 3.14.0rc3+ bytecode in Fedora 43. The Final Freeze of Fedora 43 is scheduled to start next week. Please prioritize this bugzilla accordingly. Thanks.
I maintain python-mwparserfromhell which depends on pytest-cov. Not sure I should take over maintainership but I'm happy to help and test. (I'm still unsure how coordination with depending packages works for a package like this.) Notably, the upstream goes through major versions rather fast: https://github.com/pytest-dev/pytest-cov/tags (we are currently at 5.0.0 from early 2024, there is an open PR for 6.2.1 released June this year and 7.0.0 just came out in early September). I'm happy to become co-maintainer (I'll make sure that it doesn't end up neglected again and help whenever necessary), maybe even mentee on how updates in such a package can be done. Cheers! David
(In reply to David Auer from comment #4) > I maintain python-mwparserfromhell which depends on pytest-cov. It doesn’t need to depend on it, and per https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters, it shouldn’t. Try this: https://src.fedoraproject.org/rpms/python-mwparserfromhell/pull-request/1
There are 138 packages that currently depend on this. For that reason, I suspect that somebody will end up “rescuing” this package. However, patching out the dependency is the right answer for almost any individual impacted package.
Ben, thanks a lot for the suggestion and PR! Consider me no longer interested in this package then ;)