Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-sparse for openSUSE:Factory checked in at 2022-10-25 11:20:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-sparse (Old) and /work/SRC/openSUSE:Factory/.python-sparse.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-sparse" Tue Oct 25 11:20:12 2022 rev:11 rq:1030992 version:0.13.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-sparse/python-sparse.changes 2022-07-15 13:53:00.835573810 +0200 +++ /work/SRC/openSUSE:Factory/.python-sparse.new.2275/python-sparse.changes 2022-10-25 11:20:39.274222708 +0200 @@ -1,0 +2,7 @@ +Fri Oct 21 08:39:20 UTC 2022 - Matej Cepl <mcepl@suse.com> + +- Add skip-32bit-archs.patch skiping a failing test on 32bit arch + (gh#pydata/sparse#490). +- Also remove conditional python_module definition. + +------------------------------------------------------------------- New: ---- skip-32bit-archs.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-sparse.spec ++++++ --- /var/tmp/diff_new_pack.c58UOe/_old 2022-10-25 11:20:39.798223869 +0200 +++ /var/tmp/diff_new_pack.c58UOe/_new 2022-10-25 11:20:39.802223879 +0200 @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-sparse Version: 0.13.0 @@ -26,6 +25,9 @@ Group: Development/Languages/Python URL: https://github.com/pydata/sparse Source: https://files.pythonhosted.org/packages/source/s/sparse/sparse-%{version}.tar.gz +# PATCH-FIX-UPSTREAM skip-32bit-archs.patch gh#pydata/sparse#490 mcepl@suse.com +# Skip some tests on 32bit architecture +Patch0: skip-32bit-archs.patch BuildRequires: %{python_module setuptools} # SECTION test requirements BuildRequires: %{python_module dask-array} ++++++ skip-32bit-archs.patch ++++++ --- sparse/tests/test_coo.py | 3 +++ 1 file changed, 3 insertions(+) --- a/sparse/tests/test_coo.py +++ b/sparse/tests/test_coo.py @@ -1,6 +1,7 @@ import contextlib import operator import pickle +import platform import sys from functools import reduce @@ -14,6 +15,8 @@ from sparse import COO from sparse._settings import NEP18_ENABLED from sparse._utils import assert_eq, random_value_array, html_table +pytestmark = pytest.mark.skipif(platform.architecture()[0] == '32bit', + reason='Fails on 32bit arch (gh#pydata/sparse#490)') @pytest.fixture(scope="module", params=["f8", "f4", "i8", "i4"]) def random_sparse(request):