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
This commit is contained in:
2024-07-08 17:08:39 +00:00
committed by Git OBS Bridge
2 changed files with 7 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 8 05:01:00 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Limit numpy to < 2.
-------------------------------------------------------------------
Thu Jun 6 18:03:14 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@@ -22,7 +22,6 @@ Version: 0.15.4
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 @@ 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 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