From 8a2278f0e4ec5d795d9b5439c12abe6b9bbf03642a87bf3da2fdb41ba3c5404f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 11 Mar 2025 07:56:11 +0000 Subject: [PATCH] Accepting request 1251919 from home:yeey:branches:devel:languages:python - 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 OBS-URL: https://build.opensuse.org/request/show/1251919 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=121 --- pygments-2.19.1.tar.gz | 4 ++-- python-Pygments.changes | 8 ++++++++ python-Pygments.spec | 5 ++++- 3 files changed, 14 insertions(+), 3 deletions(-) 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.