From aa1d571cbc9d7af27ece2164f78869875de0ee90673c8c6d6db7ec5189bd0c81 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 9 Dec 2024 13:03:36 +0000 Subject: [PATCH] - Skip failing tests for Python 3.13 (gh#hauntsaninja/pyp#40). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyp?expand=0&rev=8 --- python-pyp.changes | 5 +++++ python-pyp.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python-pyp.changes b/python-pyp.changes index 0152121..ef53a2f 100644 --- a/python-pyp.changes +++ b/python-pyp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 9 13:03:02 UTC 2024 - Matej Cepl + +- Skip failing tests for Python 3.13 (gh#hauntsaninja/pyp#40). + ------------------------------------------------------------------- Tue Mar 26 13:06:58 UTC 2024 - Markéta Machová diff --git a/python-pyp.spec b/python-pyp.spec index 161f2a1..b7370ec 100644 --- a/python-pyp.spec +++ b/python-pyp.spec @@ -62,9 +62,11 @@ sed -i '/^#!\//, 1d' pyp.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +# gh#hauntsaninja/pyp#40 +skip_tests_python313="test_user_error or test_tracebacks" export PATH=$(pwd):$PATH %{python_expand ln -sf %{buildroot}%{_bindir}/pyp-%{$python_bin_suffix} pyp -PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -vv +PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -vv "$( [ -n "${skip_tests_$python}" ] && printf "%s" '-k not ('"${skip_tests_$python}"')')" } %post