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