Accepting request 1228310 from devel:languages:python:numeric
- Update to 2.10.2 * Better support for CPUs that do not have a power of 2 number of cores. See #479 and #490. Thanks to @avalentino. * Allow numexpr to run with the multithreading package in Python. See PR #496. Thanks to @emmaai * Wheels for Python 3.13 are now provided. - Drop fix-test-max-threads-unset.patch (forwarded request 1228309 from bnavigator) OBS-URL: https://build.opensuse.org/request/show/1228310 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=27
This commit is contained in:
commit
553b7cd5ec
@ -1,13 +0,0 @@
|
|||||||
Index: numexpr-2.10.1/numexpr/tests/test_numexpr.py
|
|
||||||
===================================================================
|
|
||||||
--- numexpr-2.10.1.orig/numexpr/tests/test_numexpr.py
|
|
||||||
+++ numexpr-2.10.1/numexpr/tests/test_numexpr.py
|
|
||||||
@@ -1129,7 +1129,7 @@ class test_threading_config(TestCase):
|
|
||||||
"if 'NUMEXPR_MAX_THREADS' in os.environ: os.environ.pop('NUMEXPR_MAX_THREADS')",
|
|
||||||
"if 'OMP_NUM_THREADS' in os.environ: os.environ.pop('OMP_NUM_THREADS')",
|
|
||||||
"import numexpr",
|
|
||||||
- "assert(numexpr.nthreads <= 8)",
|
|
||||||
+ f"assert(numexpr.nthreads <= {MAX_THREADS})",
|
|
||||||
"exit(0)"])
|
|
||||||
subprocess.check_call([sys.executable, '-c', script])
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9bba99d354a65f1a008ab8b87f07d84404c668e66bab624df5b6b5373403cf81
|
|
||||||
size 101580
|
|
3
numexpr-2.10.2.tar.gz
Normal file
3
numexpr-2.10.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b0aff6b48ebc99d2f54f27b5f73a58cb92fde650aeff1b397c71c8788b4fff1a
|
||||||
|
size 106787
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 4 10:38:19 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 2.10.2
|
||||||
|
* Better support for CPUs that do not have a power of 2 number of
|
||||||
|
cores. See #479 and #490. Thanks to @avalentino.
|
||||||
|
* Allow numexpr to run with the multithreading package in Python.
|
||||||
|
See PR #496. Thanks to @emmaai
|
||||||
|
* Wheels for Python 3.13 are now provided.
|
||||||
|
- Drop fix-test-max-threads-unset.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 12 11:14:53 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
Tue Nov 12 11:14:53 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-numexpr
|
Name: python-numexpr
|
||||||
Version: 2.10.1
|
Version: 2.10.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Numerical expression evaluator for NumPy
|
Summary: Numerical expression evaluator for NumPy
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -26,8 +26,6 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/pydata/numexpr/
|
URL: https://github.com/pydata/numexpr/
|
||||||
Source: https://files.pythonhosted.org/packages/source/n/numexpr/numexpr-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/n/numexpr/numexpr-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel >= 3.7}
|
BuildRequires: %{python_module devel >= 3.7}
|
||||||
# PATCH-FIX-UPSTREAM: fix-test-max-threads-unset.patch gh#pydata/numexpr#491
|
|
||||||
Patch0: fix-test-max-threads-unset.patch
|
|
||||||
BuildRequires: %{python_module numpy-devel >= 1.23}
|
BuildRequires: %{python_module numpy-devel >= 1.23}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user