1
0

Accepting request 1173493 from home:bnavigator:branches:devel:languages:python:numeric

- Replace revert-to-numpy1.patch by numexpr-pr485-allow-numpy1.patch
  in order to be able to compile with either numpy major version

OBS-URL: https://build.opensuse.org/request/show/1173493
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=39
This commit is contained in:
2024-05-12 22:14:42 +00:00
committed by Git OBS Bridge
parent 9c5d272880
commit 48131fa090
4 changed files with 37 additions and 34 deletions

View File

@@ -25,10 +25,10 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/pydata/numexpr/
Source: https://files.pythonhosted.org/packages/source/n/numexpr/numexpr-%{version}.tar.gz
# PATCH-FIX-UPSTREAM revert of https://github.com/pydata/numexpr/commit/beedecb3990d604d0f272c1a2f9a1d117f6120ba to enable numpy v1 again, drop when numpy is updated to v2
Patch0: revert-to-numpy1.patch
# PATCH-FIX-UPSTREAM numexpr-pr485-allow-numpy1.patch gh#pydata/numexpr#485, see also comments in gh#pydata/numexpr#478
Patch0: numexpr-pr485-allow-numpy1.patch
BuildRequires: %{python_module devel >= 3.7}
# Until numpy 2 is in Factory, keep allowing to build with numpy 1.x. See comments in pyproject.toml for scipy and pandas
# Until numpy 2 is in Factory, keep allowing to build with numpy 1.x. See Patch0
BuildRequires: %{python_module numpy-devel >= 1.19.3}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}