forked from pool/python-pyp
Accepting request 1229391 from devel:languages:python
- Skip failing tests for Python 3.13 (gh#hauntsaninja/pyp#40). OBS-URL: https://build.opensuse.org/request/show/1229391 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyp?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 9 13:03:02 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Skip failing tests for Python 3.13 (gh#hauntsaninja/pyp#40).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 26 13:06:58 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
Tue Mar 26 13:06:58 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
@@ -62,9 +62,11 @@ sed -i '/^#!\//, 1d' pyp.py
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
# gh#hauntsaninja/pyp#40
|
||||||
|
skip_tests_python313="test_user_error or test_tracebacks"
|
||||||
export PATH=$(pwd):$PATH
|
export PATH=$(pwd):$PATH
|
||||||
%{python_expand ln -sf %{buildroot}%{_bindir}/pyp-%{$python_bin_suffix} pyp
|
%{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
|
%post
|
||||||
|
Reference in New Issue
Block a user