- Add upstream py313.patch to support Python 3.13

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=98
This commit is contained in:
Matej Cepl 2024-11-22 11:22:11 +00:00 committed by Git OBS Bridge
parent 23a3a6d23d
commit 2abad7d325
4 changed files with 4135 additions and 2 deletions

View File

@ -2,4 +2,5 @@
<package>test-py310</package>
<package>test-py311</package>
<package>test-py312</package>
<package>test-py313</package>
</multibuild>

4127
py313.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Nov 22 09:42:21 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Add upstream py313.patch to support Python 3.13
-------------------------------------------------------------------
Tue Oct 29 20:01:54 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -56,8 +56,6 @@ ExclusiveArch: donotbuild
ExcludeArch: s390x ppc64 %ix86 %arm
%endif
%endif
# not supported with 0.60.0
%global skip_python313 1
Name: python-numba%{?psuffix}
Version: 0.60.0
Release: 0
@ -70,6 +68,8 @@ Source: https://files.pythonhosted.org/packages/source/n/numba/numba-%{v
Patch3: skip-failing-tests.patch
# PATCH-FIX-UPSTREAM https://github.com/numba/numba/pull/9741 Add Support for NumPy 2.1
Patch4: numpy21.patch
# PATCH-FIX-UPSTREAM https://github.com/numba/numba/pull/9682 Python 3.13 support
Patch5: py313.patch
BuildRequires: %{python_module devel >= 3.9}
BuildRequires: %{python_module numpy-devel >= %{min_numpy_ver} with %python-numpy-devel < %{max_numpy_ver}}
BuildRequires: %{python_module pip}