From 1c227bcc293afe8bce605eea460f8a5ab744f024c487037bfaa2c1c559702886 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 18 Aug 2025 11:57:49 +0000 Subject: [PATCH] - Skip tests failing with ruff 0.12.9 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-examples?expand=0&rev=23 --- python-pytest-examples.changes | 5 +++++ python-pytest-examples.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/python-pytest-examples.changes b/python-pytest-examples.changes index 91881d9..1d6a19c 100644 --- a/python-pytest-examples.changes +++ b/python-pytest-examples.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 18 11:40:41 UTC 2025 - Markéta Machová + +- Skip tests failing with ruff 0.12.9 + ------------------------------------------------------------------- Fri Jul 4 06:12:42 UTC 2025 - Steve Kowalik diff --git a/python-pytest-examples.spec b/python-pytest-examples.spec index fd6771d..4f1ad30 100644 --- a/python-pytest-examples.spec +++ b/python-pytest-examples.spec @@ -58,7 +58,8 @@ It can also update code examples in place to format them and insert or update pr %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest -k 'not test_run_example_ok_fail' +# ruff slightly changed its error output formatting https://github.com/astral-sh/ruff/issues/19966 +%pytest -k 'not (test_run_example_ok_fail or test_ruff_offset or test_ruff_error)' %files %{python_files} %license LICENSE