commit python-sparse for openSUSE:Factory

2024-09-24 Thread Source-Sync
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 2024-09-24 17:33:59

Comparing /work/SRC/openSUSE:Factory/python-sparse (Old)
 and  /work/SRC/openSUSE:Factory/.python-sparse.new.29891 (New)


Package is "python-sparse"

Tue Sep 24 17:33:59 2024 rev:18 rq:1202832 version:0.15.4

Changes:

--- /work/SRC/openSUSE:Factory/python-sparse/python-sparse.changes  
2024-09-02 13:13:50.964852710 +0200
+++ /work/SRC/openSUSE:Factory/.python-sparse.new.29891/python-sparse.changes   
2024-09-24 17:34:16.967607391 +0200
@@ -1,0 +2,9 @@
+Mon Sep 23 19:48:30 UTC 2024 - Ben Greiner 
+
+- Switch to testing in multibuild: The obs runtime requirement
+  resolver deals with numba/numpy blockage more gracefully than
+  trying to resolve a BuildRequires on them. Numba 0.60 is
+  restricted to Numpy < 2.1 right now.
+* Test in parallel with xdist
+
+---

New:

  _multibuild



Other differences:
--
++ python-sparse.spec ++
--- /var/tmp/diff_new_pack.xyADEb/_old  2024-09-24 17:34:18.783683417 +0200
+++ /var/tmp/diff_new_pack.xyADEb/_new  2024-09-24 17:34:18.795683919 +0200
@@ -16,8 +16,20 @@
 #
 
 
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == ""
+%define psuffix %{nil}
+%bcond_with test
+BuildArch:  noarch
+%else
+%bcond_without test
+%define psuffix -%{flavor}
+# 32bit fails in half of the test suite because the tests try to convert to 
64bit types
+ExcludeArch:%{ix86} %{arm} ppc
+%endif
+
 %{?sle15_python_module_pythons}
-Name:   python-sparse
+Name:   python-sparse%{psuffix}
 Version:0.15.4
 Release:0
 Summary:Sparse n-dimensional arrays for Python
@@ -29,20 +41,17 @@
 BuildRequires:  %{python_module setuptools >= 64}
 BuildRequires:  %{python_module setuptools_scm >= 8}
 BuildRequires:  %{python_module wheel}
-# SECTION test requirements
-BuildRequires:  %{python_module dask-array}
-BuildRequires:  %{python_module numba >= 0.49}
-BuildRequires:  %{python_module numpy >= 1.17}
-BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module scipy >= 0.19}
-# /SECTION
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-numba >= 0.49
 Requires:   python-numpy >= 1.17
 Requires:   python-scipy >= 0.19
-BuildArch:  noarch
-
+%if %{with test}
+BuildRequires:  %{python_module dask-array}
+BuildRequires:  %{python_module pytest-xdist}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module sparse = %{version}}
+%endif
 %python_subpackages
 
 %description
@@ -59,21 +68,26 @@
 sed -i /addopts/d pytest.ini
 
 %build
+%if !%{with test}
 %pyproject_wheel
+%endif
 
 %install
+%if !%{with test}
 %pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
 
+%if %{with test}
 %check
-# 32bit fails in half of the test suite because the tests try to convert to 
64bit types
-if [ $(getconf LONG_BIT) -eq 64 ]; then
-%pytest
-fi
+%pytest -n auto
+%endif
 
+%if !%{with test}
 %files %{python_files}
 %doc README.rst docs/*.rst
 %license LICENSE
 %{python_sitelib}/sparse
-%{python_sitelib}/sparse-%{version}*-info
+%{python_sitelib}/sparse-%{version}.dist-info
+%endif
 

++ _multibuild ++

  test



commit python-sparse for openSUSE:Factory

2024-09-02 Thread Source-Sync
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 2024-09-02 13:13:44

Comparing /work/SRC/openSUSE:Factory/python-sparse (Old)
 and  /work/SRC/openSUSE:Factory/.python-sparse.new.2698 (New)


Package is "python-sparse"

Mon Sep  2 13:13:44 2024 rev:17 rq:1198009 version:0.15.4

Changes:

--- /work/SRC/openSUSE:Factory/python-sparse/python-sparse.changes  
2024-07-08 19:08:56.668241460 +0200
+++ /work/SRC/openSUSE:Factory/.python-sparse.new.2698/python-sparse.changes
2024-09-02 13:13:50.964852710 +0200
@@ -1,0 +2,5 @@
+Fri Aug 30 14:42:24 UTC 2024 - Ben Greiner 
+
+- Unpin numpy 2
+
+---



Other differences:
--
++ python-sparse.spec ++
--- /var/tmp/diff_new_pack.WzPc7U/_old  2024-09-02 13:13:51.496874835 +0200
+++ /var/tmp/diff_new_pack.WzPc7U/_new  2024-09-02 13:13:51.500875002 +0200
@@ -32,15 +32,15 @@
 # SECTION test requirements
 BuildRequires:  %{python_module dask-array}
 BuildRequires:  %{python_module numba >= 0.49}
-BuildRequires:  %{python_module numpy >= 1.17 with %python-numpy < 2}
+BuildRequires:  %{python_module numpy >= 1.17}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module scipy >= 0.19}
 # /SECTION
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-numba >= 0.49
+Requires:   python-numpy >= 1.17
 Requires:   python-scipy >= 0.19
-Requires:   (python-numpy >= 1.17 with python-numpy < 2)
 BuildArch:  noarch
 
 %python_subpackages


commit python-sparse for openSUSE:Factory

2024-07-08 Thread Source-Sync
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 2024-07-08 19:08:39

Comparing /work/SRC/openSUSE:Factory/python-sparse (Old)
 and  /work/SRC/openSUSE:Factory/.python-sparse.new.2080 (New)


Package is "python-sparse"

Mon Jul  8 19:08:39 2024 rev:16 rq:1186068 version:0.15.4

Changes:

--- /work/SRC/openSUSE:Factory/python-sparse/python-sparse.changes  
2024-06-07 15:06:02.245610241 +0200
+++ /work/SRC/openSUSE:Factory/.python-sparse.new.2080/python-sparse.changes
2024-07-08 19:08:56.668241460 +0200
@@ -1,0 +2,5 @@
+Mon Jul  8 05:01:00 UTC 2024 - Steve Kowalik 
+
+- Limit numpy to < 2. 
+
+---



Other differences:
--
++ python-sparse.spec ++
--- /var/tmp/diff_new_pack.M8aCUO/_old  2024-07-08 19:08:57.748280959 +0200
+++ /var/tmp/diff_new_pack.M8aCUO/_new  2024-07-08 19:08:57.752281105 +0200
@@ -22,7 +22,6 @@
 Release:0
 Summary:Sparse n-dimensional arrays for Python
 License:BSD-3-Clause
-Group:  Development/Languages/Python
 URL:https://github.com/pydata/sparse
 Source: 
https://files.pythonhosted.org/packages/source/s/sparse/sparse-%{version}.tar.gz
 BuildRequires:  %{python_module base >= 3.8}
@@ -33,15 +32,15 @@
 # SECTION test requirements
 BuildRequires:  %{python_module dask-array}
 BuildRequires:  %{python_module numba >= 0.49}
-BuildRequires:  %{python_module numpy >= 1.17}
+BuildRequires:  %{python_module numpy >= 1.17 with %python-numpy < 2}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module scipy >= 0.19}
 # /SECTION
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-numba >= 0.49
-Requires:   python-numpy >= 1.17
 Requires:   python-scipy >= 0.19
+Requires:   (python-numpy >= 1.17 with python-numpy < 2)
 BuildArch:  noarch
 
 %python_subpackages


commit python-sparse for openSUSE:Factory

2024-06-07 Thread Source-Sync
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 2024-06-07 15:05:21

Comparing /work/SRC/openSUSE:Factory/python-sparse (Old)
 and  /work/SRC/openSUSE:Factory/.python-sparse.new.24587 (New)


Package is "python-sparse"

Fri Jun  7 15:05:21 2024 rev:15 rq:1179166 version:0.15.4

Changes:

--- /work/SRC/openSUSE:Factory/python-sparse/python-sparse.changes  
2024-04-23 18:56:06.946554908 +0200
+++ /work/SRC/openSUSE:Factory/.python-sparse.new.24587/python-sparse.changes   
2024-06-07 15:06:02.245610241 +0200
@@ -1,0 +2,27 @@
+Thu Jun  6 18:03:14 UTC 2024 - Ben Greiner 
+
+- Update to 0.15.4
+  * no changelog since 0.15.1
+- Release 0.15.1
+  * Fix regression where with XArray by supporting all API
+functions via the Array API standard. (PR #622 thanks
+@hameerabbasi)
+- Release 0.15.0
+  * Fix regression where DeprecationWarning`s were being fired
+unexpectedly. (:pr:`581 thanks @hameerabbasi)
+  * Extended sparse.einsum support (PR #579 thanks @HadrienNU)
+  * General code clean-up (PR #586 thanks @MHRasmy, PR #598 thanks
+@jamestwebber)
+  * Bug fixes with respect to NumPy compatibility (PR #598 thanks
+@hameerabbasi, PR #609 thanks @Illviljan, PR #620 thanks
+@mtsokol)
+  * Bug fixes with respect to GCXS (PR #611 thanks @EuGig, PR #601
+thanks @jamestwebber)
+  * Array API standard support (PR #612, PR #613, PR #614, PR #615,
+PR #619, PR #620 thanks @mtsokol)
+  * matrepr support for display of sparse data (PR #605, PR #606
+thanks @alugowski).
+  * Larger code clean-up with Ruff formatter and linter (PR #617,
+PR #621 thanks @hameerabbasi)
+
+---

Old:

  sparse-0.14.0.tar.gz

New:

  sparse-0.15.4.tar.gz



Other differences:
--
++ python-sparse.spec ++
--- /var/tmp/diff_new_pack.bmSVxC/_old  2024-06-07 15:06:02.673625834 +0200
+++ /var/tmp/diff_new_pack.bmSVxC/_new  2024-06-07 15:06:02.677625979 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sparse
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:   python-sparse
-Version:0.14.0
+Version:0.15.4
 Release:0
 Summary:Sparse n-dimensional arrays for Python
 License:BSD-3-Clause
@@ -27,7 +27,8 @@
 Source: 
https://files.pythonhosted.org/packages/source/s/sparse/sparse-%{version}.tar.gz
 BuildRequires:  %{python_module base >= 3.8}
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module setuptools >= 64}
+BuildRequires:  %{python_module setuptools_scm >= 8}
 BuildRequires:  %{python_module wheel}
 # SECTION test requirements
 BuildRequires:  %{python_module dask-array}
@@ -56,6 +57,7 @@
 
 %prep
 %autosetup -p1 -n sparse-%{version}
+sed -i /addopts/d pytest.ini
 
 %build
 %pyproject_wheel
@@ -65,11 +67,9 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# https://github.com/pydata/sparse/issues/594
-donttest="test_tensordot"
 # 32bit fails in half of the test suite because the tests try to convert to 
64bit types
 if [ $(getconf LONG_BIT) -eq 64 ]; then
-%pytest -k "not ($donttest)"
+%pytest
 fi
 
 %files %{python_files}

++ sparse-0.14.0.tar.gz -> sparse-0.15.4.tar.gz ++
 12487 lines of diff (skipped)


commit python-sparse for openSUSE:Factory

2023-05-30 Thread Source-Sync
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 2023-05-30 22:02:49

Comparing /work/SRC/openSUSE:Factory/python-sparse (Old)
 and  /work/SRC/openSUSE:Factory/.python-sparse.new.1533 (New)


Package is "python-sparse"

Tue May 30 22:02:49 2023 rev:13 rq:1089730 version:0.14.0

Changes:

--- /work/SRC/openSUSE:Factory/python-sparse/python-sparse.changes  
2023-03-27 18:15:43.326929892 +0200
+++ /work/SRC/openSUSE:Factory/.python-sparse.new.1533/python-sparse.changes
2023-05-30 22:03:04.251232524 +0200
@@ -1,0 +2,6 @@
+Mon May 29 16:44:57 UTC 2023 - Ben Greiner 
+
+- Unskip python311: numby 0.57 is released
+- Skip test_tensordot: gh#pydata/sparse#594
+
+---



Other differences:
--
++ python-sparse.spec ++
--- /var/tmp/diff_new_pack.USgqvO/_old  2023-05-30 22:03:04.711235235 +0200
+++ /var/tmp/diff_new_pack.USgqvO/_new  2023-05-30 22:03:04.715235259 +0200
@@ -16,8 +16,6 @@
 #
 
 
-# no python311-numba yet
-%define skip_python311 1
 Name:   python-sparse
 Version:0.14.0
 Release:0
@@ -66,9 +64,11 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
+# https://github.com/pydata/sparse/issues/594
+donttest="test_tensordot"
 # 32bit fails in half of the test suite because the tests try to convert to 
64bit types
 if [ $(getconf LONG_BIT) -eq 64 ]; then
-%pytest
+%pytest -k "not ($donttest)"
 fi
 
 %files %{python_files}


commit python-sparse for openSUSE:Factory

2023-03-27 Thread Source-Sync
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 2023-03-27 18:15:42

Comparing /work/SRC/openSUSE:Factory/python-sparse (Old)
 and  /work/SRC/openSUSE:Factory/.python-sparse.new.31432 (New)


Package is "python-sparse"

Mon Mar 27 18:15:42 2023 rev:12 rq:1074476 version:0.14.0

Changes:

--- /work/SRC/openSUSE:Factory/python-sparse/python-sparse.changes  
2022-10-25 11:20:39.274222708 +0200
+++ /work/SRC/openSUSE:Factory/.python-sparse.new.31432/python-sparse.changes   
2023-03-27 18:15:43.326929892 +0200
@@ -1,0 +2,14 @@
+Sat Mar 25 12:05:17 UTC 2023 - Ben Greiner 
+
+- Update to 0.14.0
+  * sparse.einsum support (PR #564 thanks @jcmgray)
+  * Some bug-fixes (PR #524, PR #527, PR #555 thanks @hameerabbasi,
+PR #569, thanks @jamestwebber, PR #534, thanks
+@sarveshbhatnagar)
+  * Some performance improvements (PR #570, thanks @jamestwebber,
+PR #540, thanks @smldub).
+- Skip python311 build: no numba yet
+- Drop skip-32bit-archs.patch, disable 32bit test suite: too many
+  tests involve 64bit types
+
+---

Old:

  skip-32bit-archs.patch
  sparse-0.13.0.tar.gz

New:

  sparse-0.14.0.tar.gz



Other differences:
--
++ python-sparse.spec ++
--- /var/tmp/diff_new_pack.I5Whvj/_old  2023-03-27 18:15:43.954933205 +0200
+++ /var/tmp/diff_new_pack.I5Whvj/_new  2023-03-27 18:15:43.958933227 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sparse
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,19 +16,20 @@
 #
 
 
-%define skip_python2 1
+# no python311-numba yet
+%define skip_python311 1
 Name:   python-sparse
-Version:0.13.0
+Version:0.14.0
 Release:0
 Summary:Sparse n-dimensional arrays for Python
 License:BSD-3-Clause
 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 mc...@suse.com
-# Skip some tests on 32bit architecture
-Patch0: skip-32bit-archs.patch
+BuildRequires:  %{python_module base >= 3.8}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 # SECTION test requirements
 BuildRequires:  %{python_module dask-array}
 BuildRequires:  %{python_module numba >= 0.49}
@@ -58,14 +59,17 @@
 %autosetup -p1 -n sparse-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
+# 32bit fails in half of the test suite because the tests try to convert to 
64bit types
+if [ $(getconf LONG_BIT) -eq 64 ]; then
 %pytest
+fi
 
 %files %{python_files}
 %doc README.rst docs/*.rst

++ sparse-0.13.0.tar.gz -> sparse-0.14.0.tar.gz ++
 2037 lines of diff (skipped)


commit python-sparse for openSUSE:Factory

2022-10-25 Thread Source-Sync
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 
+
+- 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 mc...@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):


commit python-sparse for openSUSE:Factory

2022-07-15 Thread Source-Sync
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-07-15 13:52:47

Comparing /work/SRC/openSUSE:Factory/python-sparse (Old)
 and  /work/SRC/openSUSE:Factory/.python-sparse.new.1523 (New)


Package is "python-sparse"

Fri Jul 15 13:52:47 2022 rev:10 rq:989321 version:0.13.0

Changes:

--- /work/SRC/openSUSE:Factory/python-sparse/python-sparse.changes  
2022-01-25 17:37:31.161735454 +0100
+++ /work/SRC/openSUSE:Factory/.python-sparse.new.1523/python-sparse.changes
2022-07-15 13:53:00.835573810 +0200
@@ -1,0 +2,6 @@
+Thu Jul 14 17:53:01 UTC 2022 - Ben Greiner 
+
+- remove stray ancient pathlib requirement
+- Dask supports Python 3.10 now: reenable tests
+
+---



Other differences:
--
++ python-sparse.spec ++
--- /var/tmp/diff_new_pack.6M1es2/_old  2022-07-15 13:53:01.211573931 +0200
+++ /var/tmp/diff_new_pack.6M1es2/_new  2022-07-15 13:53:01.211573931 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sparse
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,7 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
 Name:   python-sparse
 Version:0.13.0
@@ -26,10 +26,9 @@
 Group:  Development/Languages/Python
 URL:https://github.com/pydata/sparse
 Source: 
https://files.pythonhosted.org/packages/source/s/sparse/sparse-%{version}.tar.gz
-BuildRequires:  %{python_module pathlib}
 BuildRequires:  %{python_module setuptools}
 # SECTION test requirements
-BuildRequires:  %{python_module dask-array if %python-base < 3.10}
+BuildRequires:  %{python_module dask-array}
 BuildRequires:  %{python_module numba >= 0.49}
 BuildRequires:  %{python_module numpy >= 1.17}
 BuildRequires:  %{python_module pytest}
@@ -64,9 +63,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# dask is not available for python310 yet
-python310_flags="--ignore sparse/tests/test_dask_interop.py"
-%pytest ${$python_flags}
+%pytest
 
 %files %{python_files}
 %doc README.rst docs/*.rst


commit python-sparse for openSUSE:Factory

2022-01-25 Thread Source-Sync
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-01-25 17:36:02

Comparing /work/SRC/openSUSE:Factory/python-sparse (Old)
 and  /work/SRC/openSUSE:Factory/.python-sparse.new.1938 (New)


Package is "python-sparse"

Tue Jan 25 17:36:02 2022 rev:9 rq:948904 version:0.13.0

Changes:

--- /work/SRC/openSUSE:Factory/python-sparse/python-sparse.changes  
2021-09-22 22:13:45.848363270 +0200
+++ /work/SRC/openSUSE:Factory/.python-sparse.new.1938/python-sparse.changes
2022-01-25 17:37:31.161735454 +0100
@@ -1,0 +2,5 @@
+Mon Jan 24 16:35:40 UTC 2022 - Ben Greiner 
+
+- Don't test optional dask for python310: not supported yet
+
+---



Other differences:
--
++ python-sparse.spec ++
--- /var/tmp/diff_new_pack.5VtVbA/_old  2022-01-25 17:37:31.569732644 +0100
+++ /var/tmp/diff_new_pack.5VtVbA/_new  2022-01-25 17:37:31.573732616 +0100
@@ -18,7 +18,6 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
-%define skip_python36 1
 Name:   python-sparse
 Version:0.13.0
 Release:0
@@ -30,7 +29,7 @@
 BuildRequires:  %{python_module pathlib}
 BuildRequires:  %{python_module setuptools}
 # SECTION test requirements
-BuildRequires:  %{python_module dask-array}
+BuildRequires:  %{python_module dask-array if %python-base < 3.10}
 BuildRequires:  %{python_module numba >= 0.49}
 BuildRequires:  %{python_module numpy >= 1.17}
 BuildRequires:  %{python_module pytest}
@@ -65,7 +64,9 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%pytest
+# dask is not available for python310 yet
+python310_flags="--ignore sparse/tests/test_dask_interop.py"
+%pytest ${$python_flags}
 
 %files %{python_files}
 %doc README.rst docs/*.rst


commit python-sparse for openSUSE:Factory

2021-09-22 Thread Source-Sync
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 2021-09-22 22:13:06

Comparing /work/SRC/openSUSE:Factory/python-sparse (Old)
 and  /work/SRC/openSUSE:Factory/.python-sparse.new.1899 (New)


Package is "python-sparse"

Wed Sep 22 22:13:06 2021 rev:8 rq:921019 version:0.13.0

Changes:

--- /work/SRC/openSUSE:Factory/python-sparse/python-sparse.changes  
2021-02-15 23:19:19.783667287 +0100
+++ /work/SRC/openSUSE:Factory/.python-sparse.new.1899/python-sparse.changes
2021-09-22 22:13:45.848363270 +0200
@@ -1,0 +2,33 @@
+Wed Sep 22 12:39:03 UTC 2021 - Ben Greiner 
+
+- Update to 0.13.0
+  * GCXS improvements and changes.
+  * Maintainence fixes
+  * sparse.DOK.from_scipy_sparse method
+  * Black re-formatting
+  * Add sparse.pad
+  * Switch to GitHub Actions
+  * Fix a number of bugs in format conversion.
+  * Fix bug in sparse.matmul for higher-dimensional arrays.
+  * Fix scalar conversion to COO
+  * Fix OOB memory accesses
+  * Fixes element-wise ops with scalar COO array.
+  * Fix scalar broadcast_to with nnz==0.
+  * Add order parameter to {zero, ones, full}[_like].
+  * Fix tensordot typing bugs.
+- Release 0.12.0
+  * There are a number of large changes in this release. For
+example, we have implemented the GCXS type, and its
+specializations CSR and CSC. We plan on gradually improving the
+performance of these.
+  * A number of GCXS fixes and additions
+  * Ability to change the index dtype for better storage
+characteristics.
+  * Some work on DOK arrays to bring them closer to the other
+formats
+  * CSR and CSC specializations of GCXS
+  * Fix a number of bugs
+  * Add nnz parameter to sparse.random
+- Drop sparse-pr421-fix-cootype.patch merged upstream
+
+---

Old:

  sparse-0.11.2.tar.gz
  sparse-pr421-fix-cootype.patch

New:

  sparse-0.13.0.tar.gz



Other differences:
--
++ python-sparse.spec ++
--- /var/tmp/diff_new_pack.L51Z9d/_old  2021-09-22 22:13:46.372363706 +0200
+++ /var/tmp/diff_new_pack.L51Z9d/_new  2021-09-22 22:13:46.376363709 +0200
@@ -20,28 +20,26 @@
 %define skip_python2 1
 %define skip_python36 1
 Name:   python-sparse
-Version:0.11.2
+Version:0.13.0
 Release:0
 Summary:Sparse n-dimensional arrays for Python
 License:BSD-3-Clause
 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 sparse-pr421-fix-cootype.patch -- gh#pydata#sparse#421
-Patch0: %{url}/pull/421.patch#/sparse-pr421-fix-cootype.patch
 BuildRequires:  %{python_module pathlib}
 BuildRequires:  %{python_module setuptools}
 # SECTION test requirements
 BuildRequires:  %{python_module dask-array}
 BuildRequires:  %{python_module numba >= 0.49}
-BuildRequires:  %{python_module numpy}
+BuildRequires:  %{python_module numpy >= 1.17}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module scipy >= 0.19}
 # /SECTION
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-numba >= 0.49
-Requires:   python-numpy
+Requires:   python-numpy >= 1.17
 Requires:   python-scipy >= 0.19
 BuildArch:  noarch
 

++ sparse-0.11.2.tar.gz -> sparse-0.13.0.tar.gz ++
 8929 lines of diff (skipped)


commit python-sparse for openSUSE:Factory

2021-02-15 Thread Source-Sync
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 2021-02-15 23:16:44

Comparing /work/SRC/openSUSE:Factory/python-sparse (Old)
 and  /work/SRC/openSUSE:Factory/.python-sparse.new.28504 (New)


Package is "python-sparse"

Mon Feb 15 23:16:44 2021 rev:7 rq:871453 version:0.11.2

Changes:

--- /work/SRC/openSUSE:Factory/python-sparse/python-sparse.changes  
2020-12-31 10:01:55.311057717 +0100
+++ /work/SRC/openSUSE:Factory/.python-sparse.new.28504/python-sparse.changes   
2021-02-15 23:19:19.783667287 +0100
@@ -1,0 +2,5 @@
+Fri Feb 12 14:15:38 UTC 2021 - Dirk M??ller 
+
+- skip python 3.6 build 
+
+---



Other differences:
--
++ python-sparse.spec ++
--- /var/tmp/diff_new_pack.gDrQs9/_old  2021-02-15 23:19:20.651668584 +0100
+++ /var/tmp/diff_new_pack.gDrQs9/_new  2021-02-15 23:19:20.655668590 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sparse
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,6 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
+%define skip_python36 1
 Name:   python-sparse
 Version:0.11.2
 Release:0