From 5514fa1036190713ddd8cc8e26bf542bb1f681b8225d32a039e78407b5177f67 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 26 Jul 2023 06:42:53 +0000 Subject: [PATCH] Accepting request 1100656 from home:mcalabkova:branches:devel:languages:python:pytest - Skip tests failing with pytest 7.4, they don't matter * failure comes from py.core, which has low usage * https://github.com/pytest-dev/py/issues/288 * according to that this code is not used in Tumbleweed anyway OBS-URL: https://build.opensuse.org/request/show/1100656 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-py?expand=0&rev=32 --- python-py.changes | 8 ++++++++ python-py.spec | 4 +++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/python-py.changes b/python-py.changes index 0ae3e0b..282777a 100644 --- a/python-py.changes +++ b/python-py.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Jul 25 14:23:03 UTC 2023 - Markéta Machová + +- Skip tests failing with pytest 7.4, they don't matter + * failure comes from py.core, which has low usage + * https://github.com/pytest-dev/py/issues/288 + * according to that this code is not used in Tumbleweed anyway + ------------------------------------------------------------------- Fri Apr 21 12:30:10 UTC 2023 - Dirk Müller diff --git a/python-py.spec b/python-py.spec index 8f7c6bd..1830b96 100644 --- a/python-py.spec +++ b/python-py.spec @@ -85,7 +85,9 @@ rm -r py/_vendored_packages export LANG=en_US.UTF-8 # In addition to PR 222, there are other tests failing due to changes in pytest 5 & 6 # https://github.com/pytest-dev/py/issues/209 -%pytest -k 'not (test_getdimensions or test_format_excinfo or test_excinfo_repr or test_excinfo_str or test_syntaxerror_rerepresentation or test_len or test_power or test_comments)' +# another failing tests with pytest 7.4: https://github.com/pytest-dev/pytest/commit/cc23ec91d042ee15145b890aea04e96f6e831101 https://github.com/pytest-dev/pytest/commit/0a20452f78a2f5401cf0fc05dad04c8aeee170d7 +# ...but the failure comes from py.core, which was integrated to pytest long ago and will probably be dropped soon: https://github.com/pytest-dev/py/issues/288 +%pytest -k 'not (test_getdimensions or test_format_excinfo or test_excinfo_repr or test_excinfo_str or test_syntaxerror_rerepresentation or test_len or test_power or test_comments or test_repr_traceback or test_traceback_getcrashentry)' %endif %if !%{with test}