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