Description of problem: python-pygments 2.11.2 is heading to Rawhide. python-diff-cover fails to build on top of this package. Version-Release number of selected component (if applicable): 6.4.4-1.fc36 Steps to Reproduce: For local testing: $ mock -r fedora-rawhide-x86_64 --addrepo=https://download.copr.fedorainfracloud.org/results/ksurma/pygments-2.11.2/fedora-rawhide-x86_64/ --no-clean your.src.rpm $ mock -r fedora-rawhide-x86_64 --addrepo=https://download.copr.fedorainfracloud.org/results/ksurma/pygments-2.11.2/fedora-rawhide-x86_64/ shell Actual results: def test_style_defs(): style_str = Snippet.style_defs() expected_styles = load_fixture("snippet.css").strip() # Check that a sample of the styles are present # (use only a sample to make the test more robust # against Pygments changes). for expect_line in expected_styles.split("\n"): > assert expect_line in style_str E AssertionError: assert '.c { color: #408080; font-style: italic } /* Comment */' in 'pre { line-height: 125%; }\ntd.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; pa...nstance */\n.vm { color: #19177C } /* Name.Variable.Magic */\n.il { color: #666666 } /* Literal.Number.Integer.Long */' tests/test_snippets.py:154: AssertionError =========================== short test summary info ============================ FAILED tests/test_snippets.py::test_style_defs - AssertionError: assert '.c {... ================= 1 failed, 248 passed, 30 deselected in 2.28s ================= error: Bad exit status from /var/tmp/rpm-tmp.EQXhVD (%check) Bad exit status from /var/tmp/rpm-tmp.EQXhVD (%check)
PR containing backported fix for the failing test: https://src.fedoraproject.org/rpms/python-diff-cover/pull-request/5
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36.
FEDORA-2022-2ad1ad0643 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-2ad1ad0643
FEDORA-2022-3fa69b36fe has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-3fa69b36fe
FEDORA-2022-2ad1ad0643 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-3fa69b36fe has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.