Skip to content

Commit 9c70b43

Browse files
committed
Pre-release actions for 2.8.6
1 parent 71e4f75 commit 9c70b43

File tree

3 files changed

+25
-8
lines changed

3 files changed

+25
-8
lines changed

ANNOUNCE.rst

+19-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
========================
2-
Announcing NumExpr 2.8.5
2+
Announcing NumExpr 2.8.6
33
========================
44

55
Hi everyone,
66

7-
In 2.8.5 we have added a new function, `validate` which checks an expression `ex`
8-
for validity, for usage where the program is parsing a user input. There are also
9-
consequences for this sort of usage, since `eval(ex)` is called, and as such we
10-
do some string sanitization as described below.
7+
NumExpr 2.8.6 is a release to deal with issues related to downstream `pandas`
8+
where the sanitization blacklist was hitting private variables used in their
9+
evaluate. In addition the sanitization was hitting on scientific notation.
10+
11+
For those who do not wish to have sanitization on by default, it can be changed
12+
by setting an environment variable, `NUMEXPR_SANITIZE=0`.
13+
14+
If you use `pandas` in your packages it is advisable you pin
15+
16+
`numexpr >= 2.8.6`
17+
18+
in your requirements.
1119

1220
Project documentation is available at:
1321

@@ -16,8 +24,13 @@ http://numexpr.readthedocs.io/
1624
Changes from 2.8.5 to 2.8.6
1725
---------------------------
1826

19-
** Under Construction **
27+
* The sanitization can be turned off by default by setting an environment variable,
28+
29+
`set NUMEXPR_SANITIZE=0`
2030

31+
* Improved behavior of the blacklist to avoid triggering on private variables
32+
and scientific notation numbers.
33+
2134

2235
What's Numexpr?
2336
---------------

RELEASE_NOTES.rst

+5-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@ Release notes for NumExpr 2.8 series
55
Changes from 2.8.5 to 2.8.6
66
---------------------------
77

8-
** Under Construction **
8+
* The sanitization can be turned off by default by setting an environment variable,
99

10+
`set NUMEXPR_SANITIZE=0`
11+
12+
* Improved behavior of the blacklist to avoid triggering on private variables
13+
and scientific notation numbers.
1014

1115
Changes from 2.8.4 to 2.8.5
1216
---------------------------

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = numexpr
3-
version = 2.8.6.dev1
3+
version = 2.8.6
44
description = Fast numerical expression evaluator for NumPy
55
author = David M. Cooke, Francesc Alted, and others
66
maintainer = Robert A. McLeod

0 commit comments

Comments
 (0)