From 7ed1ae394150d62fef198b14c4c372ed82fd38b42be30972345c5946a82578f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 28 Aug 2023 10:55:31 +0000 Subject: [PATCH] Accepting request 1106190 from home:apersaud:branches:devel:languages:python:numeric update to latest version OBS-URL: https://build.opensuse.org/request/show/1106190 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=25 --- numexpr-2.8.4.tar.gz | 3 --- numexpr-2.8.5.tar.gz | 3 +++ python-numexpr.changes | 25 +++++++++++++++++++++++++ python-numexpr.spec | 2 +- 4 files changed, 29 insertions(+), 4 deletions(-) delete mode 100644 numexpr-2.8.4.tar.gz create mode 100644 numexpr-2.8.5.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.5.tar.gz b/numexpr-2.8.5.tar.gz new file mode 100644 index 0000000..370efe9 --- /dev/null +++ b/numexpr-2.8.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:45ed41e55a0abcecf3d711481e12a5fb7a904fe99d42bc282a17cc5f8ea510be +size 101666 diff --git a/python-numexpr.changes b/python-numexpr.changes index aad2466..2f32312 100644 --- a/python-numexpr.changes +++ b/python-numexpr.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sun Aug 27 21:31:12 UTC 2023 - Arun Persaud + +- update to version 2.8.5: + * A validate function has been added. This function checks the + inputs, returning None on success or raising an exception on + invalid inputs. This function was added as numerous projects seem + to be using NumExpr for parsing user inputs. re_evaluate may be + called directly following validate. + * As an addendum to the use of NumExpr for parsing user inputs, is + that NumExpr calls eval on the inputs. A regular expression is now + applied to help sanitize the input expression string, forbidding + '__', ':', and ';'. Attribute access is also banned except for + '.r' for real and '.i' for imag. + * Thanks to timbrist for a fix to behavior of NumExpr with integers + to negative powers. NumExpr was pre-checking integer powers for + negative values, which was both inefficient and caused parsing + errors in some situations. Now NumExpr will simply return 0 as a + result for such cases. While NumExpr generally tries to follow + NumPy behavior, performance is also critical. + * Thanks to peadar for some fixes to how NumExpr launches threads + for embedded applications. + * Thanks to de11n for making parsing of the site.cfg for MKL + consistent among all shared platforms. + ------------------------------------------------------------------- Mon Jan 2 18:44:01 UTC 2023 - Dirk Müller diff --git a/python-numexpr.spec b/python-numexpr.spec index 460c6a1..352ca50 100644 --- a/python-numexpr.spec +++ b/python-numexpr.spec @@ -17,7 +17,7 @@ Name: python-numexpr -Version: 2.8.4 +Version: 2.8.5 Release: 0 Summary: Numerical expression evaluator for NumPy License: MIT