diff --git a/python-cairocffi.changes b/python-cairocffi.changes index cacf826..b5d04fb 100644 --- a/python-cairocffi.changes +++ b/python-cairocffi.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Aug 20 21:23:34 UTC 2022 - Matej Cepl + +- Disable xcb tests (they are just too unstable, + gh#Kozea/cairocffi#203). + ------------------------------------------------------------------- Fri Aug 19 15:40:07 UTC 2022 - Ben Greiner diff --git a/python-cairocffi.spec b/python-cairocffi.spec index 0c65133..47669fd 100644 --- a/python-cairocffi.spec +++ b/python-cairocffi.spec @@ -87,7 +87,10 @@ sed -i 's/^from \./from cairocffi./' tests/*.py %check cd tests/ -%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" xvfb-run --server-args="-screen 0 1280x1024x16" $python -B -m pytest +# Don't test with NumPy in the python36 flavor, because python36-numpy is not in TW anymore +# Switch off test_xcb tests gh#Kozea/cairocffi#203 +python36_ignore="--ignore test_numpy.py --ignore test_xcb.py" +%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" xvfb-run --server-args="-screen 0 1280x1024x16" $python -m pytest ${$python_ignore} %files %{python_files} %license LICENSE