Accepting request 1169641 from home:mcalabkova:branches:devel:languages:python:numeric
- Add patch revert-to-numpy1.patch to restore compatibility with numpy v1 * revert of upstream commit, drop when numpy v2 comes to Factory OBS-URL: https://build.opensuse.org/request/show/1169641 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=37
This commit is contained in:
@@ -25,6 +25,8 @@ 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
|
||||
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
|
||||
BuildRequires: %{python_module numpy-devel >= 1.19.3}
|
||||
@@ -44,7 +46,7 @@ can be accelerated and use less memory than doing the same
|
||||
calculation in Python.
|
||||
|
||||
%prep
|
||||
%setup -q -n numexpr-%{version}
|
||||
%autosetup -p1 -n numexpr-%{version}
|
||||
# wrong-file-end-of-line-encoding
|
||||
sed -i 's/\r$//' ANNOUNCE.rst AUTHORS.txt README.rst RELEASE_NOTES.rst site.cfg.example
|
||||
# remove unwanted shebang
|
||||
|
||||
Reference in New Issue
Block a user