forked from pool/python-sparse
Compare commits
38 Commits
Author | SHA256 | Date | |
---|---|---|---|
50ee1a1deb | |||
82c2b8f5fe | |||
68e3bcfff9 | |||
7c42eea15b | |||
4598db3a34 | |||
fb247d5359 | |||
dfc96593d3 | |||
245d09b6e4 | |||
c0836b0c83 | |||
aa7a3256f3 | |||
3084a009b2 | |||
b5570912d7 | |||
1b3255e599 | |||
8037bac411 | |||
6aad8379cf | |||
889cebf111 | |||
f87d711706 | |||
e4d5890ce1 | |||
0e4c767200 | |||
f5d074b3e1 | |||
399f603273 | |||
36a61be4d8 | |||
eadb28880e | |||
f47909c990 | |||
1eab00321b | |||
1e83d38e0f | |||
57d3ac098c | |||
7fc345cfe3 | |||
0eab7352e3 | |||
782d13f07d | |||
cc67800dad | |||
39c54e83b9 | |||
8b5c59978b | |||
dbec3744fd | |||
d136334418 | |||
1f97736673 | |||
226bf779bf | |||
d379679127 |
3
_multibuild
Normal file
3
_multibuild
Normal file
@@ -0,0 +1,3 @@
|
||||
<multibuild>
|
||||
<package>test</package>
|
||||
</multibuild>
|
@@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 25 20:18:47 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.15.5:
|
||||
* Make sure [r]matmul__ returns NotImplemented on invalid types.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 26 10:27:28 UTC 2024 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Re-enable python 3.13 since numba has been patched to support it
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 20 15:53:53 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Skip python313: No numba 0.61 yet
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 23 19:48:30 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 30 14:42:24 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
@@ -6,7 +31,7 @@ Fri Aug 30 14:42:24 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 8 05:01:00 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Limit numpy to < 2.
|
||||
- Limit numpy to < 2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 6 18:03:14 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
@@ -114,61 +139,61 @@ Wed Sep 22 12:39:03 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 12 14:15:38 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- skip python 3.6 build
|
||||
- skip python 3.6 build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 28 11:56:48 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 0.11.2
|
||||
* Fix TypingError on sparse.dot with complex dtypes. (Issue #403,
|
||||
PR #404)
|
||||
* Fix TypingError on sparse.dot with complex dtypes. (Issue #403,
|
||||
PR #404)
|
||||
- Changelog for 0.11.1
|
||||
* Fix ValueError on sparse.dot with extremely small values.
|
||||
(Issue #398, PR #399)
|
||||
- Changelog for 0.11.0
|
||||
* Improve the performance of sparse.dot. (Issue #331, PR #389,
|
||||
* Improve the performance of sparse.dot. (Issue #331, PR #389,
|
||||
thanks @daletovar)
|
||||
* Added the COO.swapaxes method. (PR #344, thanks @lueckem)
|
||||
* Added multi-axis 1-D indexing support. (PR #343, thanks
|
||||
* Added multi-axis 1-D indexing support. (PR #343, thanks
|
||||
@mikeymezher)
|
||||
* Fix outer for arrays that weren’t one-dimensional. (Issue #346,
|
||||
* Fix outer for arrays that weren’t one-dimensional. (Issue #346,
|
||||
PR #347)
|
||||
* Add casting kwarg to COO.astype. (Issue #391, PR #392)
|
||||
* Fix for COO constructor accepting invalid inputs. (Issue #385,
|
||||
* Fix for COO constructor accepting invalid inputs. (Issue #385,
|
||||
PR #386)
|
||||
- Changelog for 0.10.0
|
||||
* Fixed a bug where converting an empty DOK array to COO leads to
|
||||
* Fixed a bug where converting an empty DOK array to COO leads to
|
||||
an incorrect dtype. (Issue #314, PR #315)
|
||||
* Change code formatter to black. (PR #284)
|
||||
* Add COO.flatten and sparse.outer. (Issue #316, PR #317).
|
||||
* Remove broadcasting restriction between sparse arrays and dense
|
||||
* Remove broadcasting restriction between sparse arrays and dense
|
||||
arrays. (Issue #306, PR #318)
|
||||
* Implement deterministic dask tokenization. (Issue #300, PR
|
||||
* Implement deterministic dask tokenization. (Issue #300, PR
|
||||
#320, thanks @danielballan)
|
||||
* Improve testing around densification (PR #321, thanks
|
||||
* Improve testing around densification (PR #321, thanks
|
||||
@danielballan)
|
||||
* Simplify Numba extension. (PR #324, thanks @eric-wieser).
|
||||
* Respect copy=False in astype (PR #328, thanks @eric-wieser).
|
||||
* Replace linear_loc with ravel_multi_index, which is 3x faster.
|
||||
* Replace linear_loc with ravel_multi_index, which is 3x faster.
|
||||
(PR #330, thanks @eric-wieser).
|
||||
* Add error msg to tensordot operation when ndim==0 (Issue #332,
|
||||
* Add error msg to tensordot operation when ndim==0 (Issue #332,
|
||||
PR #333, thanks @guilhermeleobas).
|
||||
* Maintainence fixes for Sphinx 3.0 and Numba 0.49, and dropping
|
||||
* Maintainence fixes for Sphinx 3.0 and Numba 0.49, and dropping
|
||||
support for Python 3.5. (PR #337).
|
||||
* Fixed signature for numpy.clip.
|
||||
- Changelog for 0.9.1
|
||||
* Fixed a bug where indexing with an empty list could lead to
|
||||
* Fixed a bug where indexing with an empty list could lead to
|
||||
issues. (Issue #281, PR #282)
|
||||
* Change code formatter to black. (PR #284)
|
||||
* Add the diagonal and diagonalize functions. (Issue #288, PR
|
||||
* Add the diagonal and diagonalize functions. (Issue #288, PR
|
||||
#289, thanks @pettni)
|
||||
* Add HTML repr for notebooks. (PR #283, thanks @daletovar)
|
||||
* Avoid making copy of coords when making a new COO array.
|
||||
* Add stack and concatenate for GCXS. (Issue #301, PR #303,
|
||||
* Add stack and concatenate for GCXS. (Issue #301, PR #303,
|
||||
thanks @daletovar).
|
||||
* Fix issue where functions dispatching to an attribute access
|
||||
* Fix issue where functions dispatching to an attribute access
|
||||
wouldn’t work with __array_function__. (Issue #308, PR #309).
|
||||
* Add partial support for constructing and mirroring COO objects
|
||||
* Add partial support for constructing and mirroring COO objects
|
||||
to Numba.
|
||||
- add sparse-pr421-fix-cootype.patch
|
||||
* gh#pydata/sparse#420
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-sparse
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,9 +16,21 @@
|
||||
#
|
||||
|
||||
|
||||
%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
|
||||
Version: 0.15.4
|
||||
Name: python-sparse%{psuffix}
|
||||
Version: 0.15.5
|
||||
Release: 0
|
||||
Summary: Sparse n-dimensional arrays for Python
|
||||
License: BSD-3-Clause
|
||||
@@ -29,20 +41,17 @@ BuildRequires: %{python_module pip}
|
||||
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,22 +68,27 @@ intended for somewhat general use.
|
||||
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
|
||||
|
||||
%changelog
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d4b1c57d24ff0f64f2fd5b5a95b49b7fb84ed207a26d7d58ce2764dcc5c72b84
|
||||
size 359721
|
3
sparse-0.15.5.tar.gz
Normal file
3
sparse-0.15.5.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4c76ce0c96f5cd5c31b7e79e650f0022424c2b16f05f10049e9c6381ee4be266
|
||||
size 359719
|
Reference in New Issue
Block a user