Created attachment 1877167 [details] build.log Currently there is a test failures, hence python-rich FTBFS with the latest Pygments update intended for rawhide: =================================== FAILURES =================================== ___________________________ test_guess_lexer_yaml_j2 ___________________________ def test_guess_lexer_yaml_j2(): # https://github.com/Textualize/rich/issues/2018 code = """\ foobar: something: {{ raiser() }} else: {{ 5 + 5 }} """ > assert Traceback._guess_lexer("test.yaml.j2", code) == "text" E AssertionError: assert 'YAML+Jinja' == 'text' E - text E + YAML+Jinja tests/test_traceback.py:280: AssertionError =============================== warnings summary =============================== tests/test_markup.py:147 /builddir/build/BUILD/rich-12.3.0/tests/test_markup.py:147: DeprecationWarning: invalid escape sequence '\[' result = str(render("[dim white]\[url=[/]")) tests/test_traceback.py:52 /builddir/build/BUILD/rich-12.3.0/tests/test_traceback.py:52: DeprecationWarning: invalid escape sequence '\.' "^│ .+rich/tests/test_traceback\.py:", -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_traceback.py::test_guess_lexer_yaml_j2 - AssertionError: as... ============ 1 failed, 649 passed, 20 skipped, 2 warnings in 5.71s ============= It seems upstream has resolved it on the master branch through https://github.com/Textualize/rich/commit/e2332480eba780be2090b5cc98bee21874d13f33 Full build logs are attached.
PR: https://src.fedoraproject.org/rpms/python-rich/pull-request/9