Accepting request 1166812 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1166812
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pillow?expand=0&rev=67
This commit is contained in:
Ana Guerrero 2024-04-12 15:33:43 +00:00 committed by Git OBS Bridge
commit 54fdf1255b
2 changed files with 6 additions and 11 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 10 12:07:32 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Reenable tests for s390x and ppc, bsc#1222553
gh#python-pillow/Pillow#1204
-------------------------------------------------------------------
Wed Apr 3 07:29:31 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -82,19 +82,8 @@ Python Imaging Library by Fredrik Lundh and Contributors.
%check
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} PYTHONDONTWRITEBYTECODE=1
%if "%{_arch}" == "s390" || "%{_arch}" == "s390x"
echo "WARNING ignoring tests completely due to https://github.com/python-pillow/Pillow/issues/1204 and segfault"
%else
%if "%{_arch}" == "ppc" || "%{_arch}" == "ppc64"
$python selftest.py --installed || \
echo "WARNING ignore failure https://github.com/python-pillow/Pillow/issues/1204"
pytest-%{$python_bin_suffix} --ignore=_build.python2 --ignore=_build.python3 --ignore=_build.pypy3 -v || \
echo "WARNING ignore failure https://github.com/python-pillow/Pillow/issues/1204"
%else
$python selftest.py --installed
pytest-%{$python_bin_suffix} --ignore=_build.python2 --ignore=_build.python3 --ignore=_build.pypy3 -v -k 'not (test_stroke or test_stroke_multiline)'
%endif
%endif
}
%files %{python_files}