1
0
forked from pool/python-sparse

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
This commit is contained in:
2024-06-07 09:31:07 +00:00
committed by Git OBS Bridge
parent 6aad8379cf
commit 1b3255e599
4 changed files with 36 additions and 9 deletions

View File

@@ -1,3 +1,30 @@
-------------------------------------------------------------------
Thu Jun 6 18:03:14 UTC 2024 - Ben Greiner <code@bnavigator.de>
- 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)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 29 14:21:45 UTC 2024 - ecsos <ecsos@opensuse.org> Fri Mar 29 14:21:45 UTC 2024 - ecsos <ecsos@opensuse.org>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-sparse # 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 # 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
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-sparse Name: python-sparse
Version: 0.14.0 Version: 0.15.4
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
@@ -27,7 +27,8 @@ URL: https://github.com/pydata/sparse
Source: https://files.pythonhosted.org/packages/source/s/sparse/sparse-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/s/sparse/sparse-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools >= 64}
BuildRequires: %{python_module setuptools_scm >= 8}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module dask-array} BuildRequires: %{python_module dask-array}
@@ -56,6 +57,7 @@ intended for somewhat general use.
%prep %prep
%autosetup -p1 -n sparse-%{version} %autosetup -p1 -n sparse-%{version}
sed -i /addopts/d pytest.ini
%build %build
%pyproject_wheel %pyproject_wheel
@@ -65,11 +67,9 @@ intended for somewhat general use.
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %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 # 32bit fails in half of the test suite because the tests try to convert to 64bit types
if [ $(getconf LONG_BIT) -eq 64 ]; then if [ $(getconf LONG_BIT) -eq 64 ]; then
%pytest -k "not ($donttest)" %pytest
fi fi
%files %{python_files} %files %{python_files}

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5f5827a37f6cd6f6730a541f994c95c60a3ae2329e01f4ba21ced5339aea0098
size 356293

3
sparse-0.15.4.tar.gz Normal file
View File

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