From f6f591576515f513352a1ac3d3788d312a4c9bcd7a977969adbf05252e4b8f27 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 27 Nov 2023 19:49:32 +0000 Subject: [PATCH] - update to 2.8.7: * More permissive rules in sanitizing regular expression: allow to access digits after the . with scientific notation. * Don't reject double underscores that are not at the start or end of a variable name (pandas uses those), or scientific-notation numbers with digits after the decimal point. * Do not use numpy.alltrue in the test suite, as it has been deprecated (replaced by numpy.all). * Python 3.12 support * Thanks to Kirill Kouzoubov for a range of fixes to constants parsing that was * Thanks to Mark Harfouche for noticing that we no longer need `numpy` version - skip python3.6 build (no numpy) - python3 package added * Fixed several issues with different platforms not supporting * Now, when trying to use pure Python boolean operators, 'and', 'or' and 'not, an error is issued and suggesting that '&', '|' - fix requiements for SLE 11 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=29 --- numexpr-2.8.4.tar.gz | 3 --- numexpr-2.8.7.tar.gz | 3 +++ python-numexpr.changes | 29 +++++++++++++++++++++-------- python-numexpr.spec | 2 +- 4 files changed, 25 insertions(+), 12 deletions(-) delete mode 100644 numexpr-2.8.4.tar.gz create mode 100644 numexpr-2.8.7.tar.gz diff --git a/numexpr-2.8.4.tar.gz b/numexpr-2.8.4.tar.gz deleted file mode 100644 index 6df58e6..0000000 --- a/numexpr-2.8.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d5432537418d18691b9115d615d6daa17ee8275baef3edf1afbbf8bc69806147 -size 98719 diff --git a/numexpr-2.8.7.tar.gz b/numexpr-2.8.7.tar.gz new file mode 100644 index 0000000..8808a5f --- /dev/null +++ b/numexpr-2.8.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:596eeb3bbfebc912f4b6eaaf842b61ba722cebdb8bc42dfefa657d3a74953849 +size 103410 diff --git a/python-numexpr.changes b/python-numexpr.changes index 747eb03..52e9db7 100644 --- a/python-numexpr.changes +++ b/python-numexpr.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Nov 27 19:44:35 UTC 2023 - Dirk Müller + +- update to 2.8.7: + * More permissive rules in sanitizing regular expression: allow to + access digits after the . with scientific notation. + * Don't reject double underscores that are not at the start or end of + a variable name (pandas uses those), or scientific-notation numbers + with digits after the decimal point. + * Do not use numpy.alltrue in the test suite, as it has been + deprecated (replaced by numpy.all). + * Python 3.12 support + ------------------------------------------------------------------- Mon Sep 4 19:07:09 UTC 2023 - Ben Greiner @@ -38,9 +51,9 @@ Mon Jan 2 18:44:01 UTC 2023 - Dirk Müller * Thanks to Tobias Hangleiter for an improved accuracy complex `expm1` function. While it is 25 % slower, it is significantly more accurate for the real component over a range of values and matches NumPy outputs much more closely. - * Thanks to Kirill Kouzoubov for a range of fixes to constants parsing that was + * Thanks to Kirill Kouzoubov for a range of fixes to constants parsing that was resulting in duplicated constants of the same value. - * Thanks to Mark Harfouche for noticing that we no longer need `numpy` version + * Thanks to Mark Harfouche for noticing that we no longer need `numpy` version checks. `packaging` is no longer a requirement as a result. ------------------------------------------------------------------- @@ -103,7 +116,7 @@ Mon Feb 7 03:27:38 UTC 2022 - Arun Persaud ------------------------------------------------------------------- Fri Mar 12 20:28:19 UTC 2021 - Dirk Müller -- skip python3.6 build (no numpy) +- skip python3.6 build (no numpy) ------------------------------------------------------------------- Wed Mar 3 19:08:44 UTC 2021 - Arun Persaud @@ -422,7 +435,7 @@ Tue Oct 22 13:32:08 UTC 2013 - toddrme2178@gmail.com ------------------------------------------------------------------- Mon May 6 06:22:06 UTC 2013 - highwaystar.ru@gmail.com -- python3 package added +- python3 package added - update to 2.1 * New compatibility with Python 3: * switch from PyString to PyBytes API (requires Python >= 2.6). @@ -430,16 +443,16 @@ Mon May 6 06:22:06 UTC 2013 - highwaystar.ru@gmail.com * use the Py_TYPE macro * use the PyVarObject_HEAD_INIT macro instead of PyObject_HEAD_INIT * Dropped compatibility with Python < 2.6. - * Fixed several issues with different platforms not supporting + * Fixed several issues with different platforms not supporting multithreading or subprocess properly (see tickets #75 and #77). - * Now, when trying to use pure Python boolean operators, 'and', - 'or' and 'not, an error is issued and suggesting that '&', '|' + * Now, when trying to use pure Python boolean operators, 'and', + 'or' and 'not, an error is issued and suggesting that '&', '|' and '~' should be used instead (fixes #24). ------------------------------------------------------------------- Tue Aug 14 10:24:42 UTC 2012 - scorot@free.fr -- fix requiements for SLE 11 +- fix requiements for SLE 11 ------------------------------------------------------------------- Tue Jul 31 13:42:58 UTC 2012 - toddrme2178@gmail.com diff --git a/python-numexpr.spec b/python-numexpr.spec index 679c4df..cf208ec 100644 --- a/python-numexpr.spec +++ b/python-numexpr.spec @@ -17,7 +17,7 @@ Name: python-numexpr -Version: 2.8.4 +Version: 2.8.7 Release: 0 Summary: Numerical expression evaluator for NumPy License: MIT