Bug 2042308 - python-rich FTBFS with Pygments 2.11.2 in Rawhide
Summary: python-rich FTBFS with Pygments 2.11.2 in Rawhide
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-rich
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Parag Nemade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2036218
TreeView+ depends on / blocked
 
Reported: 2022-01-19 08:35 UTC by Karolina Surma
Modified: 2022-03-14 03:00 UTC (History)
1 user (show)

Fixed In Version: python-rich-12.0.0-1.fc37
Clone Of:
Environment:
Last Closed: 2022-02-09 09:17:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2022-01-19 08:35:43 UTC
Description of problem:

python-pygments 2.11.2 is heading to Rawhide.
python-rich fails to build on top of this package.

Version-Release number of selected component (if applicable):
10.16.1-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:
The test output is really long, see: https://download.copr.fedorainfracloud.org/results/ksurma/pygments-2.11.2/fedora-rawhide-x86_64/03193406-python-rich/build.log.gz

FAILED tests/test_syntax.py::test_python_render - assert '╭───────────...────...
FAILED tests/test_syntax.py::test_python_render_simple - AssertionError: asse...
FAILED tests/test_syntax.py::test_python_render_indent_guides - assert '╭────...
============ 3 failed, 576 passed, 3 skipped, 17 warnings in 5.16s =============

Comment 1 Karolina Surma 2022-02-07 12:19:34 UTC
Proposal to disable the failing tests: https://src.fedoraproject.org/rpms/python-rich/pull-request/7

Comment 2 Ben Cotton 2022-02-08 20:09:56 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 3 Fedora Update System 2022-03-14 02:58:13 UTC
FEDORA-2022-ada6e73bfa has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-ada6e73bfa

Comment 4 Fedora Update System 2022-03-14 03:00:22 UTC
FEDORA-2022-ada6e73bfa has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


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