From faea2ff4ee00a3c61678e0979a8691dfca37418ee0cf81b5b8bded460e8d18bb Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 20 Aug 2022 21:23:47 +0000 Subject: [PATCH] - Disable xcb tests (they are just too unstable, gh#Kozea/cairocffi#203). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cairocffi?expand=0&rev=42 --- python-cairocffi.changes | 6 ++++++ python-cairocffi.spec | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) 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