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
This commit is contained in:
Markéta Machová 2023-08-28 10:55:31 +00:00 committed by Git OBS Bridge
parent 2c990f8492
commit 7ed1ae3941
4 changed files with 29 additions and 4 deletions

BIN
numexpr-2.8.4.tar.gz (Stored with Git LFS)

Binary file not shown.

3
numexpr-2.8.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:45ed41e55a0abcecf3d711481e12a5fb7a904fe99d42bc282a17cc5f8ea510be
size 101666

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Sun Aug 27 21:31:12 UTC 2023 - Arun Persaud <arun@gmx.de>
- 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 <dmueller@suse.com>

View File

@ -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