1
0
forked from pool/python-sparse

38 Commits

Author SHA256 Message Date
50ee1a1deb Accepting request 1248473 from devel:languages:python:numeric
- update to 0.15.5:
  * Make sure [r]matmul__ returns NotImplemented on invalid types.

- Limit numpy to < 2.
- skip python 3.6 build
  * Fix TypingError on sparse.dot with complex dtypes. (Issue #403,
    PR #404)
  * Improve the performance of sparse.dot. (Issue #331, PR #389,
  * Added multi-axis 1-D indexing support. (PR #343, thanks
  * Fix outer for arrays that weren’t one-dimensional. (Issue #346,
  * Fix for COO constructor accepting invalid inputs. (Issue #385,
  * Fixed a bug where converting an empty DOK array to COO leads to
  * Remove broadcasting restriction between sparse arrays and dense
  * Implement deterministic dask tokenization. (Issue #300, PR
  * Improve testing around densification (PR #321, thanks
  * Replace linear_loc with ravel_multi_index, which is 3x faster.
  * Add error msg to tensordot operation when ndim==0 (Issue #332,
  * Maintainence fixes for Sphinx 3.0 and Numba 0.49, and dropping
  * Fixed a bug where indexing with an empty list could lead to
  * Add the diagonal and diagonalize functions. (Issue #288, PR
  * Add stack and concatenate for GCXS. (Issue #301, PR #303,
  * Fix issue where functions dispatching to an attribute access
  * Add partial support for constructing and mirroring COO objects

OBS-URL: https://build.opensuse.org/request/show/1248473
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sparse?expand=0&rev=21
2025-02-26 16:17:21 +00:00
82c2b8f5fe - update to 0.15.5:
* Make sure [r]matmul__ returns NotImplemented on invalid types.
- Limit numpy to < 2.
- skip python 3.6 build
  * Fix TypingError on sparse.dot with complex dtypes. (Issue #403,
    PR #404)
  * Improve the performance of sparse.dot. (Issue #331, PR #389,
  * Added multi-axis 1-D indexing support. (PR #343, thanks
  * Fix outer for arrays that weren’t one-dimensional. (Issue #346,
  * Fix for COO constructor accepting invalid inputs. (Issue #385,
  * Fixed a bug where converting an empty DOK array to COO leads to
  * Remove broadcasting restriction between sparse arrays and dense
  * Implement deterministic dask tokenization. (Issue #300, PR
  * Improve testing around densification (PR #321, thanks
  * Replace linear_loc with ravel_multi_index, which is 3x faster.
  * Add error msg to tensordot operation when ndim==0 (Issue #332,
  * Maintainence fixes for Sphinx 3.0 and Numba 0.49, and dropping
  * Fixed a bug where indexing with an empty list could lead to
  * Add the diagonal and diagonalize functions. (Issue #288, PR
  * Add stack and concatenate for GCXS. (Issue #301, PR #303,
  * Fix issue where functions dispatching to an attribute access
  * Add partial support for constructing and mirroring COO objects

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sparse?expand=0&rev=35
2025-02-25 20:19:11 +00:00
68e3bcfff9 Accepting request 1226481 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1226481
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sparse?expand=0&rev=20
2024-11-27 21:10:53 +00:00
7c42eea15b - Re-enable python 3.13 since numba has been patched to support it
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sparse?expand=0&rev=33
2024-11-26 11:04:23 +00:00
4598db3a34 Accepting request 1225339 from devel:languages:python:numeric
- Skip python313: No numba 0.61 yet (forwarded request 1225338 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/1225339
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sparse?expand=0&rev=19
2024-11-21 14:14:02 +00:00
fb247d5359 - Skip python313: No numba 0.61 yet
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sparse?expand=0&rev=31
2024-11-20 16:26:21 +00:00
dfc96593d3 Accepting request 1202832 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1202832
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sparse?expand=0&rev=18
2024-09-24 15:33:59 +00:00
245d09b6e4 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sparse?expand=0&rev=29
2024-09-24 08:47:37 +00:00
c0836b0c83 Accepting request 1198009 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1198009
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sparse?expand=0&rev=17
2024-09-02 11:13:44 +00:00
aa7a3256f3 Accepting request 1186068 from devel:languages:python:numeric
- Limit numpy to < 2.

OBS-URL: https://build.opensuse.org/request/show/1186068
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sparse?expand=0&rev=16
2024-07-08 17:08:39 +00:00
3084a009b2 - Limit numpy to < 2.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sparse?expand=0&rev=25
2024-07-08 05:01:14 +00:00
b5570912d7 Accepting request 1179166 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1179166
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sparse?expand=0&rev=15
2024-06-07 13:05:21 +00:00
1b3255e599 Accepting request 1179065 from home:bnavigator:branches:devel:languages:python:numeric
- 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)

OBS-URL: https://build.opensuse.org/request/show/1179065
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sparse?expand=0&rev=23
2024-06-07 09:31:07 +00:00
8037bac411 Accepting request 1169606 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1169606
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sparse?expand=0&rev=14
2024-04-23 16:55:44 +00:00
6aad8379cf Accepting request 1169492 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1169492
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sparse?expand=0&rev=21
2024-04-22 07:24:03 +00:00
889cebf111 Accepting request 1089730 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1089730
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sparse?expand=0&rev=13
2023-05-30 20:02:49 +00:00
f87d711706 Accepting request 1089620 from home:bnavigator:branches:devel:languages:python:numeric
- Unskip python311: numby 0.57 is released
- Skip test_tensordot: gh#pydata/sparse#594

OBS-URL: https://build.opensuse.org/request/show/1089620
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sparse?expand=0&rev=19
2023-05-30 08:12:27 +00:00
e4d5890ce1 Accepting request 1074476 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1074476
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sparse?expand=0&rev=12
2023-03-27 16:15:42 +00:00
0e4c767200 Accepting request 1074413 from home:bnavigator:branches:devel:languages:python:numeric
- 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

OBS-URL: https://build.opensuse.org/request/show/1074413
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sparse?expand=0&rev=17
2023-03-26 16:46:30 +00:00
f5d074b3e1 Accepting request 1030992 from devel:languages:python:numeric
- Add skip-32bit-archs.patch skiping a failing test on 32bit arch
  (gh#pydata/sparse#490).
- Also remove conditional python_module definition.

OBS-URL: https://build.opensuse.org/request/show/1030992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sparse?expand=0&rev=11
2022-10-25 09:20:12 +00:00
399f603273 - Also remove conditional python_module definition.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sparse?expand=0&rev=15
2022-10-25 05:11:00 +00:00
36a61be4d8 - Add skip-32bit-archs.patch skiping a failing test on 32bit arch
(gh#pydata/sparse#490).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sparse?expand=0&rev=14
2022-10-25 05:06:32 +00:00
eadb28880e - Skip failing test on 32bit arch (gh#pydata/sparse#490).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sparse?expand=0&rev=13
2022-10-21 09:10:06 +00:00
f47909c990 Accepting request 989321 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/989321
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sparse?expand=0&rev=10
2022-07-15 11:52:47 +00:00
1eab00321b Accepting request 989247 from home:bnavigator:branches:devel:languages:python
- remove stray ancient pathlib requirement
- Dask supports Python 3.10 now: reenable tests

OBS-URL: https://build.opensuse.org/request/show/989247
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sparse?expand=0&rev=11
2022-07-15 06:54:31 +00:00
1e83d38e0f Accepting request 948904 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/948904
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sparse?expand=0&rev=9
2022-01-25 16:36:02 +00:00
57d3ac098c Accepting request 948457 from home:bnavigator:branches:devel:languages:python:numeric
- Don't test optional dask for python310: not supported yet

OBS-URL: https://build.opensuse.org/request/show/948457
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sparse?expand=0&rev=10
2022-01-25 07:37:32 +00:00
7fc345cfe3 Accepting request 921019 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/921019
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sparse?expand=0&rev=8
2021-09-22 20:13:06 +00:00
0eab7352e3 Accepting request 920893 from home:bnavigator:branches:devel:languages:python:numeric
- 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

OBS-URL: https://build.opensuse.org/request/show/920893
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sparse?expand=0&rev=9
2021-09-22 17:42:15 +00:00
782d13f07d Accepting request 871453 from devel:languages:python:numeric
- skip python 3.6 build

OBS-URL: https://build.opensuse.org/request/show/871453
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sparse?expand=0&rev=7
2021-02-15 22:16:44 +00:00
cc67800dad - skip python 3.6 build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sparse?expand=0&rev=7
2021-02-12 14:15:51 +00:00
39c54e83b9 Accepting request 859301 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/859301
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sparse?expand=0&rev=6
2020-12-31 08:59:27 +00:00
8b5c59978b Accepting request 859094 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 0.11.2
  * 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, 
    thanks @daletovar)
  * Added the COO.swapaxes method. (PR #344, thanks @lueckem)
  * Added multi-axis 1-D indexing support. (PR #343, thanks 
    @mikeymezher)
  * 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, 
    PR #386)
  - Changelog for 0.10.0
  * 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 
    arrays. (Issue #306, PR #318)
  * Implement deterministic dask tokenization. (Issue #300, PR 
    #320, thanks @danielballan)
  * 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).

OBS-URL: https://build.opensuse.org/request/show/859094
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sparse?expand=0&rev=5
2020-12-29 20:52:19 +00:00
dbec3744fd Accepting request 728510 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/728510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sparse?expand=0&rev=5
2019-09-26 18:37:13 +00:00
d136334418 Accepting request 692772 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/692772
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sparse?expand=0&rev=4
2019-04-14 10:21:49 +00:00
1f97736673 Accepting request 659685 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659685
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sparse?expand=0&rev=3
2018-12-24 10:44:17 +00:00
226bf779bf Accepting request 626393 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/626393
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sparse?expand=0&rev=2
2018-07-31 14:01:25 +00:00
d379679127 Accepting request 612045 from devel:languages:python
Sparse n-dimensional arrays

OBS-URL: https://build.opensuse.org/request/show/612045
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sparse?expand=0&rev=1
2018-06-02 10:00:04 +00:00
5 changed files with 82 additions and 40 deletions

3
_multibuild Normal file
View File

@@ -0,0 +1,3 @@
<multibuild>
<package>test</package>
</multibuild>

View File

@@ -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> 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> 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> 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> 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> Mon Dec 28 11:56:48 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Update to 0.11.2 - Update to 0.11.2
* Fix TypingError on sparse.dot with complex dtypes. (Issue #403, * Fix TypingError on sparse.dot with complex dtypes. (Issue #403,
PR #404) PR #404)
- Changelog for 0.11.1 - Changelog for 0.11.1
* Fix ValueError on sparse.dot with extremely small values. * Fix ValueError on sparse.dot with extremely small values.
(Issue #398, PR #399) (Issue #398, PR #399)
- Changelog for 0.11.0 - 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) thanks @daletovar)
* Added the COO.swapaxes method. (PR #344, thanks @lueckem) * 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) @mikeymezher)
* Fix outer for arrays that werent one-dimensional. (Issue #346, * Fix outer for arrays that werent one-dimensional. (Issue #346,
PR #347) PR #347)
* Add casting kwarg to COO.astype. (Issue #391, PR #392) * 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) PR #386)
- Changelog for 0.10.0 - 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) an incorrect dtype. (Issue #314, PR #315)
* Change code formatter to black. (PR #284) * Change code formatter to black. (PR #284)
* Add COO.flatten and sparse.outer. (Issue #316, PR #317). * 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) arrays. (Issue #306, PR #318)
* Implement deterministic dask tokenization. (Issue #300, PR * Implement deterministic dask tokenization. (Issue #300, PR
#320, thanks @danielballan) #320, thanks @danielballan)
* Improve testing around densification (PR #321, thanks * Improve testing around densification (PR #321, thanks
@danielballan) @danielballan)
* Simplify Numba extension. (PR #324, thanks @eric-wieser). * Simplify Numba extension. (PR #324, thanks @eric-wieser).
* Respect copy=False in astype (PR #328, 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). (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). 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). support for Python 3.5. (PR #337).
* Fixed signature for numpy.clip. * Fixed signature for numpy.clip.
- Changelog for 0.9.1 - 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) issues. (Issue #281, PR #282)
* Change code formatter to black. (PR #284) * 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) #289, thanks @pettni)
* Add HTML repr for notebooks. (PR #283, thanks @daletovar) * Add HTML repr for notebooks. (PR #283, thanks @daletovar)
* Avoid making copy of coords when making a new COO array. * 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). thanks @daletovar).
* Fix issue where functions dispatching to an attribute access * Fix issue where functions dispatching to an attribute access
wouldnt work with __array_function__. (Issue #308, PR #309). wouldnt 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. to Numba.
- add sparse-pr421-fix-cootype.patch - add sparse-pr421-fix-cootype.patch
* gh#pydata/sparse#420 * gh#pydata/sparse#420

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-sparse # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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} %{?sle15_python_module_pythons}
Name: python-sparse Name: python-sparse%{psuffix}
Version: 0.15.4 Version: 0.15.5
Release: 0 Release: 0
Summary: Sparse n-dimensional arrays for Python Summary: Sparse n-dimensional arrays for Python
License: BSD-3-Clause License: BSD-3-Clause
@@ -29,20 +41,17 @@ BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 64} BuildRequires: %{python_module setuptools >= 64}
BuildRequires: %{python_module setuptools_scm >= 8} BuildRequires: %{python_module setuptools_scm >= 8}
BuildRequires: %{python_module wheel} 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: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-numba >= 0.49 Requires: python-numba >= 0.49
Requires: python-numpy >= 1.17 Requires: python-numpy >= 1.17
Requires: python-scipy >= 0.19 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 %python_subpackages
%description %description
@@ -59,22 +68,27 @@ intended for somewhat general use.
sed -i /addopts/d pytest.ini sed -i /addopts/d pytest.ini
%build %build
%if !%{with test}
%pyproject_wheel %pyproject_wheel
%endif
%install %install
%if !%{with test}
%pyproject_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
%if %{with test}
%check %check
# 32bit fails in half of the test suite because the tests try to convert to 64bit types %pytest -n auto
if [ $(getconf LONG_BIT) -eq 64 ]; then %endif
%pytest
fi
%if !%{with test}
%files %{python_files} %files %{python_files}
%doc README.rst docs/*.rst %doc README.rst docs/*.rst
%license LICENSE %license LICENSE
%{python_sitelib}/sparse %{python_sitelib}/sparse
%{python_sitelib}/sparse-%{version}*-info %{python_sitelib}/sparse-%{version}.dist-info
%endif
%changelog %changelog

View File

@@ -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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c76ce0c96f5cd5c31b7e79e650f0022424c2b16f05f10049e9c6381ee4be266
size 359719