diff --git a/pygments-2.12.0-test-fix.patch b/pygments-2.12.0-test-fix.patch deleted file mode 100644 index 1804147..0000000 --- a/pygments-2.12.0-test-fix.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/tests/test_traceback.py b/tests/test_traceback.py -index 2830e26aa..03705f99c 100644 ---- a/tests/test_traceback.py -+++ b/tests/test_traceback.py -@@ -277,7 +277,7 @@ def test_guess_lexer_yaml_j2(): - something: {{ raiser() }} - else: {{ 5 + 5 }} - """ -- assert Traceback._guess_lexer("test.yaml.j2", code) == "text" -+ assert Traceback._guess_lexer("test.yaml.j2", code) in ("text", "YAML+Jinja") - - - def test_recursive(): diff --git a/python-rich.spec b/python-rich.spec index edabd95..8658c91 100644 --- a/python-rich.spec +++ b/python-rich.spec @@ -10,10 +10,6 @@ URL: https://github.com/Textualize/rich Source0: %{url}/archive/v%{version}/rich-%{version}.tar.gz BuildArch: noarch -# Fix a test with Pygments 2.12.0 -# Resolved upstream: https://github.com/Textualize/rich/commit/e2332480eba780be2090b5cc98bee21874d13f33 -Patch0: pygments-2.12.0-test-fix.patch - BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros # for checks