Accepting request 1103793 from devel:languages:python:numeric

- update to 0.57.1:
  * fix regressions with 0.57.0 
- remove upper bound on numpy - upstream does not have it either

OBS-URL: https://build.opensuse.org/request/show/1103793
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numba?expand=0&rev=39
This commit is contained in:
Dominique Leuenberger 2023-08-14 20:35:49 +00:00 committed by Git OBS Bridge
commit 158c0e36f7
4 changed files with 14 additions and 9 deletions

View File

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

3
numba-0.57.1.tar.gz Normal file
View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Aug 14 06:47:15 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.57.1:
* fix regressions with 0.57.0
- remove upper bound on numpy - upstream does not have it either
-------------------------------------------------------------------
Fri May 26 13:28:26 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -18,9 +18,7 @@
%define skip_python2 1
%define plainpython python
# upper bound is exclusive: min-numpy_ver <= numpy < max_numpy_ver
%define min_numpy_ver 1.21
%define max_numpy_ver 1.25
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == ""
@ -47,7 +45,7 @@
%endif
Name: python-numba%{?psuffix}
Version: 0.57.0
Version: 0.57.1
Release: 0
Summary: NumPy-aware optimizing compiler for Python using LLVM
License: BSD-2-Clause
@ -57,7 +55,7 @@ Source: https://files.pythonhosted.org/packages/source/n/numba/numba-%{v
# PATCH-FIX-OPENSUSE skip tests failing due to OBS specifics
Patch3: skip-failing-tests.patch
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module numpy-devel >= %{min_numpy_ver} with %python-numpy-devel < %{max_numpy_ver}}
BuildRequires: %{python_module numpy-devel >= %{min_numpy_ver}}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
@ -65,8 +63,8 @@ BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: python-rpm-macros
BuildRequires: (tbb-devel >= 2021)
Requires: python-numpy >= %{min_numpy_ver}
Requires: (python-llvmlite >= 0.40 with python-llvmlite < 0.41)
Requires: (python-numpy >= %{min_numpy_ver} with python-numpy < %{max_numpy_ver})
Requires(post): update-alternatives
Requires(postun):update-alternatives
Recommends: python-Jinja2
@ -114,8 +112,8 @@ data structures such as those that exist in NumPy.
Summary: Development files for numba applications
Requires: %{name} = %{version}
Requires: python-devel
Requires: python-numpy-devel >= %{min_numpy_ver}
Requires: %{plainpython}(abi) = %{python_version}
Requires: (python-numpy-devel >= %{min_numpy_ver} with python-numpy-devel < %{max_numpy_ver})
%description devel
This package contains files for developing applications using numba.