15
0

Accepting request 1291573 from devel:languages:python

- Skip testcase that breaks with pytest 8.4.

OBS-URL: https://build.opensuse.org/request/show/1291573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pygments?expand=0&rev=51
This commit is contained in:
2025-07-10 21:14:59 +00:00
committed by Git OBS Bridge
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jul 10 02:55:32 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Skip testcase that breaks with pytest 8.4.
-------------------------------------------------------------------
Sat Jun 21 15:48:13 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>

View File

@@ -89,7 +89,8 @@ install -Dm0644 doc/pygmentize.1 %{buildroot}%{_mandir}/man1/pygmentize.1
# in exmplefiles because of potential licensing concerns
# See https://github.com/pygments/pygments/issues/2872
# skip random input tests as they get stuck (missing entropy?)
%pytest -k "not test_guess_lexer_modula2 and not test_random_input"
# test_lexer_classes breaks with pytest 8.4.
%pytest -k "not (test_guess_lexer_modula2 or test_random_input or test_lexer_classes)"
%pre
# If libalternatives is used: Removing old update-alternatives entries.