Accepting request 988613 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/988613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numba?expand=0&rev=33
This commit is contained in:
Dominique Leuenberger 2022-07-13 11:45:09 +00:00 committed by Git OBS Bridge
commit dd6f41057f
4 changed files with 29 additions and 12 deletions

View File

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

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

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

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon Jul 11 16:05:33 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to 0.55.2
* This is a maintenance release to support NumPy 1.22 and Apple
M1.
* Backport #8027: Support for NumPy 1.22
* update max NumPy for 0.55.2
* Backport #8052 Ensure pthread is linked in when building for
ppc64le.
* Backport #8102 to fix numpy requirements
* Backport #8109 Pin TBB support with respect to incompatible
2021.6 API.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jan 29 13:23:43 UTC 2022 - Ben Greiner <code@bnavigator.de> Sat Jan 29 13:23:43 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@ -19,6 +19,9 @@
%{?!python_module:%define python_module() python3-%{**}} %{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1 %define skip_python2 1
%define plainpython python %define plainpython python
# upper bound is exclusive: min-numpy_ver <= numpy < max_numpy_ver
%define min_numpy_ver 1.18
%define max_numpy_ver 1.23
%global flavor @BUILD_FLAVOR@%{nil} %global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test" %if "%{flavor}" == "test"
%define psuffix -test %define psuffix -test
@ -28,7 +31,7 @@
%bcond_with test %bcond_with test
%endif %endif
Name: python-numba%{psuffix} Name: python-numba%{psuffix}
Version: 0.55.1 Version: 0.55.2
Release: 0 Release: 0
Summary: NumPy-aware optimizing compiler for Python using LLVM Summary: NumPy-aware optimizing compiler for Python using LLVM
License: BSD-2-Clause License: BSD-2-Clause
@ -39,16 +42,16 @@ Patch0: fix-max-name-size.patch
# PATCH-FIX-OPENSUSE skip tests failing due to OBS specifics # PATCH-FIX-OPENSUSE skip tests failing due to OBS specifics
Patch3: skip-failing-tests.patch Patch3: skip-failing-tests.patch
BuildRequires: %{python_module devel >= 3.7} BuildRequires: %{python_module devel >= 3.7}
BuildRequires: %{python_module numpy-devel >= 1.18 with %python-numpy-devel < 1.22} BuildRequires: %{python_module numpy-devel >= %{min_numpy_ver} with %python-numpy-devel < %{max_numpy_ver}}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: tbb-devel >= 2021 BuildRequires: (tbb-devel >= 2021 with tbb-devel < 2021.6)
Requires: (python-llvmlite >= 0.38 with python-llvmlite < 0.39) Requires: (python-llvmlite >= 0.38 with python-llvmlite < 0.39)
Requires: (python-numpy >= 1.18 with python-numpy < 1.22) Requires: (python-numpy >= %{min_numpy_ver} with python-numpy < %{max_numpy_ver})
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(preun):update-alternatives Requires(postun):update-alternatives
Recommends: python-Jinja2 Recommends: python-Jinja2
Recommends: python-Pygments Recommends: python-Pygments
Recommends: python-cffi Recommends: python-cffi
@ -60,8 +63,8 @@ BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module Pygments} BuildRequires: %{python_module Pygments}
BuildRequires: %{python_module cffi} BuildRequires: %{python_module cffi}
BuildRequires: %{python_module ipython} BuildRequires: %{python_module ipython}
BuildRequires: %{python_module numba >= %{version}} BuildRequires: %{python_module numba = %{version}}
BuildRequires: %{python_module numba-devel >= %{version}} BuildRequires: %{python_module numba-devel = %{version}}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module psutil} BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
@ -94,8 +97,8 @@ data structures such as those that exist in NumPy.
Summary: Development files for numba applications Summary: Development files for numba applications
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: python-devel Requires: python-devel
Requires: python-numpy-devel >= 1.11
Requires: %{plainpython}(abi) = %{python_version} Requires: %{plainpython}(abi) = %{python_version}
Requires: (python-numpy-devel >= %{min_numpy_ver} with python-numpy-devel < %{max_numpy_ver})
%description devel %description devel
This package contains files for developing applications using numba. This package contains files for developing applications using numba.
@ -143,7 +146,7 @@ popd
%if !%{with test} %if !%{with test}
%post %post
%{python_install_alternative numba pycc} %python_install_alternative numba pycc
%postun %postun
%python_uninstall_alternative numba %python_uninstall_alternative numba