diff --git a/pygments-2.19.1.tar.gz b/pygments-2.19.1.tar.gz index 5d6e3a7..04561e2 100644 --- a/pygments-2.19.1.tar.gz +++ b/pygments-2.19.1.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:61c16d2a8576dc0649d9f39e089b5f02bcd27fba10d8fb4dcc28173f7a45151f -size 4968581 +oid sha256:54a8437d4321b0d62ba993f72748327be9a66621b7f8f756a88ed20082cce891 +size 4786940 diff --git a/python-Pygments.changes b/python-Pygments.changes index 54fcf56..c7261a9 100644 --- a/python-Pygments.changes +++ b/python-Pygments.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Mar 10 17:25:50 UTC 2025 - Guang Yee + +- Remove files from testsamples that licensedigger flagged as high risks. + Also created an issue upstream for potential licensing issues. See + https://github.com/pygments/pygments/issues/2872 +- Disable tests which depended on those files + ------------------------------------------------------------------- Thu Jan 23 11:20:48 UTC 2025 - Markéta Machová diff --git a/python-Pygments.spec b/python-Pygments.spec index 90be5fb..6a5c6a5 100644 --- a/python-Pygments.spec +++ b/python-Pygments.spec @@ -85,7 +85,10 @@ install -Dm0644 doc/pygmentize.1 %{buildroot}%{_mandir}/man1/pygmentize.1 } %check -%pytest +# skip test_guess_lexer_modula2 as we have to remove it's depent artifacts +# in exmplefiles because of potential licensing concerns +# See https://github.com/pygments/pygments/issues/2872 +%pytest -k "not test_guess_lexer_modula2" %pre # If libalternatives is used: Removing old update-alternatives entries.