https://bugzilla.redhat.com/show_bug.cgi?id=2081905
Bug ID: 2081905 Summary: python-stack-data FTBFS with the latest Pygments 2.12.0 Product: Fedora Version: rawhide Status: NEW Component: python-stack-data Assignee: lbalhar@redhat.com Reporter: cstratak@redhat.com CC: epel-packagers-sig@lists.fedoraproject.org, lbalhar@redhat.com, michel@michel-slm.name Target Milestone: --- Classification: Fedora
Created attachment 1877168 --> https://bugzilla.redhat.com/attachment.cgi?id=1877168&action=edit build.log
python-stack-data presents two assertion errors in tests with building with the latest Pygments 2.12.0 intended for rawhide:
=================================== FAILURES =================================== __________________________ test_executing_style_defs ___________________________
def test_executing_style_defs(): style = style_with_executing_node("native", "bg:#ffff00") formatter = HtmlFormatter(style=style) style_defs = formatter.get_style_defs()
expected = """ .c { color: #999999; font-style: italic } .err { color: #a61717; background-color: #e3d2d2 } .c-ExecutingNode { color: #999999; font-style: italic; background-color: #ffff00 } .err-ExecutingNode { color: #a61717; background-color: #ffff00 } """.strip().splitlines()
for line in expected:
assert line.strip() in style_defs
E AssertionError: assert '.c { color: #999999; font-style: italic }' in 'pre { line-height: 125%; }\ntd.linenos .normal { color: #aaaaaa; background-color: transparent; padding-left: 5px; pa...de */\n.il-ExecutingNode { color: #51b2fd; background-color: #ffff00 } /* Literal.Number.Integer.Long.ExecutingNode */' E + where '.c { color: #999999; font-style: italic }' = <built-in method strip of str object at 0x7fecd1c04e10>() E + where <built-in method strip of str object at 0x7fecd1c04e10> = '.c { color: #999999; font-style: italic }'.strip
tests/test_core.py:568: AssertionError ____________________________ test_pygments_example _____________________________
def test_pygments_example():
<snip>
""" E AssertionError: assert 'Terminal256F...=========\n\n' == 'Terminal256F...=========\n\n' E Skipping 75 identical leading characters in diff, use -v to show E - 39mbar(): E ? ^^ E + 39mbar(): E ? ^^ E - 14 | x = 1 E ? -... E E ...Full output truncated (193 lines hidden), use '-vv' to show
tests/test_core.py:620: AssertionError
<snip>
Full build logs are attached
https://bugzilla.redhat.com/show_bug.cgi?id=2081905
Charalampos Stratakis cstratak@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |2078223
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2078223 [Bug 2078223] python-pygments-2.12.0 is available
https://bugzilla.redhat.com/show_bug.cgi?id=2081905
Lumír Balhar lbalhar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Link ID| |Github | |alexmojaki/stack_data/issue | |s/28
--- Comment #1 from Lumír Balhar lbalhar@redhat.com --- Reported upstream with possible solutions.
https://bugzilla.redhat.com/show_bug.cgi?id=2081905
Charalampos Stratakis cstratak@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |POST
--- Comment #2 from Charalampos Stratakis cstratak@redhat.com --- PR: https://src.fedoraproject.org/rpms/python-stack-data/pull-request/5
https://bugzilla.redhat.com/show_bug.cgi?id=2081905
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|POST |MODIFIED
--- Comment #3 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-a6423ba912 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-a6423ba912
https://bugzilla.redhat.com/show_bug.cgi?id=2081905
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |CLOSED Resolution|--- |ERRATA Fixed In Version| |python-stack-data-0.2.0-2.f | |c37 Last Closed| |2022-05-11 07:35:06
--- Comment #4 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-a6423ba912 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.
epel-packagers-sig@lists.fedoraproject.org