osc copypac from project:openSUSE:Factory package:python-numba revision:48, using keep-link, using expand
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=92
This commit is contained in:
parent
9218c9dbd3
commit
d11b2a4851
@ -1,14 +0,0 @@
|
|||||||
see https://github.com/numba/numba/issues/9708
|
|
||||||
--- numba-0.60.0/numba/__init__.py
|
|
||||||
+++ numba-0.60.0/numba/__init__.py
|
|
||||||
@@ -39,8 +39,8 @@
|
|
||||||
f"{numpy_version[0]}.{numpy_version[1]}.")
|
|
||||||
raise ImportError(msg)
|
|
||||||
|
|
||||||
- if numpy_version > (2, 0):
|
|
||||||
- msg = (f"Numba needs NumPy 2.0 or less. Got NumPy "
|
|
||||||
+ if numpy_version > (2, 1):
|
|
||||||
+ msg = (f"Numba needs NumPy 2.1 or less. Got NumPy "
|
|
||||||
f"{numpy_version[0]}.{numpy_version[1]}.")
|
|
||||||
raise ImportError(msg)
|
|
||||||
|
|
@ -1,8 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Mon Sep 23 11:08:52 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- add allow-numpy21.patch to allow numpy 2.1
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 1 05:10:03 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
Mon Jul 1 05:10:03 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
%define plainpython python
|
%define plainpython python
|
||||||
# upper bound is exclusive: min-numpy_ver <= numpy < max_numpy_ver
|
# upper bound is exclusive: min-numpy_ver <= numpy < max_numpy_ver
|
||||||
%define min_numpy_ver 1.22
|
%define min_numpy_ver 1.22
|
||||||
%define max_numpy_ver 2.2
|
%define max_numpy_ver 2.1
|
||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
|
|
||||||
@ -54,7 +54,7 @@ ExcludeArch: s390x ppc64 %ix86 %arm
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: python-numba
|
Name: python-numba%{?psuffix}
|
||||||
Version: 0.60.0
|
Version: 0.60.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: NumPy-aware optimizing compiler for Python using LLVM
|
Summary: NumPy-aware optimizing compiler for Python using LLVM
|
||||||
@ -64,7 +64,6 @@ URL: https://numba.pydata.org/
|
|||||||
Source: https://files.pythonhosted.org/packages/source/n/numba/numba-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/n/numba/numba-%{version}.tar.gz
|
||||||
# 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
|
||||||
Patch4: allow-numpy21.patch
|
|
||||||
BuildRequires: %{python_module devel >= 3.9}
|
BuildRequires: %{python_module devel >= 3.9}
|
||||||
BuildRequires: %{python_module numpy-devel >= %{min_numpy_ver} with %python-numpy-devel < %{max_numpy_ver}}
|
BuildRequires: %{python_module numpy-devel >= %{min_numpy_ver} with %python-numpy-devel < %{max_numpy_ver}}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user