From 9d751d93163b193ce46312fb876276df52513f4e5e33478c6526cad062da8535 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 11 Jul 2022 09:48:09 +0000 Subject: [PATCH] Accepting request 988037 from home:apersaud:branches:devel:languages:python:numeric update to latest version OBS-URL: https://build.opensuse.org/request/show/988037 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=19 --- numexpr-2.8.1.tar.gz | 3 --- numexpr-2.8.3.tar.gz | 3 +++ python-numexpr.changes | 31 +++++++++++++++++++++++++++++++ python-numexpr.spec | 5 ++--- 4 files changed, 36 insertions(+), 6 deletions(-) delete mode 100644 numexpr-2.8.1.tar.gz create mode 100644 numexpr-2.8.3.tar.gz diff --git a/numexpr-2.8.1.tar.gz b/numexpr-2.8.1.tar.gz deleted file mode 100644 index 68f0c62..0000000 --- a/numexpr-2.8.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cd779aa44dd986c4ef10163519239602b027be06a527946656207acf1f58113b -size 94824 diff --git a/numexpr-2.8.3.tar.gz b/numexpr-2.8.3.tar.gz new file mode 100644 index 0000000..43f542b --- /dev/null +++ b/numexpr-2.8.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb647c9d9c785dae0759bf6c875cde2bec472b5c3f7a6015734b161ae766d141 +size 98436 diff --git a/python-numexpr.changes b/python-numexpr.changes index ae25e03..6551f3b 100644 --- a/python-numexpr.changes +++ b/python-numexpr.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Sat Jul 9 13:38:01 UTC 2022 - Arun Persaud + +- specfile: + * require python >= 3.7 + +- update to version 2.8.3: + * Support for Python 3.6 has been dropped due to the need to + substitute the flag NPY_ARRAY_WRITEBACKIFCOPY for + NPY_ARRAY_UPDATEIFCOPY. This flag change was initiated in NumPy + 1.14 and finalized in 1.23. The only changes were made to cases + where an unaligned constant was passed in with a pre-allocated + output variable: + ``` + x = np.empty(5, dtype=np.uint8)[1:].view(np.int32) ne.evaluate('3', out=x) + ``` + We think the risk of issues is very low, but if you are using + NumExpr as a expression evaluation tool you may want to write a + test for this edge case. + * Thanks to Matt Einhorn (@matham) for improvements to the GitHub + Actions build process to add support for Apple Silicon and + aarch64. + * Thanks to Biswapriyo Nath (@biswa96) for a fix to allow mingw + builds on Windows. + * There have been some changes made to not import platform.machine() + on sparc but it is highly advised to upgrade to Python 3.9+ to + avoid this issue with the Python core package platform. + +- changes from version 2.8.2: + * skipped due to an error in uploading to PyPi. + ------------------------------------------------------------------- Mon Feb 7 03:27:38 UTC 2022 - Arun Persaud diff --git a/python-numexpr.spec b/python-numexpr.spec index 5624e94..ac012ba 100644 --- a/python-numexpr.spec +++ b/python-numexpr.spec @@ -17,16 +17,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%global skip_python2 1 -%global skip_python36 1 Name: python-numexpr -Version: 2.8.1 +Version: 2.8.3 Release: 0 Summary: Numerical expression evaluator for NumPy 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 +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module devel} BuildRequires: %{python_module numpy-devel >= 1.6} BuildRequires: %{python_module setuptools}