Skip to content

Commit cb941c5

Browse files
Merge pull request #453 from pydata/release-2.8.7
Release 2.8.7
2 parents 62aa9d8 + 625af44 commit cb941c5

File tree

6 files changed

+143
-112
lines changed

6 files changed

+143
-112
lines changed

.github/workflows/build.yml

+17-35
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ permissions:
77

88
env:
99
CIBW_BEFORE_BUILD: pip install setuptools oldest-supported-numpy
10-
CIBW_BUILD_VERBOSITY: 3
11-
# CIBW_TEST_REQUIRES: pytest
10+
CIBW_BUILD_VERBOSITY: 1
1211
CIBW_TEST_COMMAND: python -c "import sys, numexpr; sys.exit(0 if numexpr.test().wasSuccessful() else 1)"
1312
CIBW_TEST_SKIP: "*macosx*arm64*"
14-
CIBW_SKIP: "*musllinux*"
13+
# Building for musllinux and aarch64 takes way too much time.
14+
# NumPy is adding musllinux for just x86_64 too, so this is not too bad.
15+
CIBW_SKIP: "*musllinux*aarch64*"
1516

1617
jobs:
1718
build_wheels:
@@ -22,38 +23,19 @@ jobs:
2223
env:
2324
CIBW_BUILD: ${{ matrix.cibw_build }}
2425
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
25-
CIBW_ARCHS_MACOS: ${{ matrix.arch }}
26+
CIBW_ARCHS_MACOS: "x86_64 arm64"
2627
strategy:
2728
matrix:
2829
os: [ubuntu-latest, windows-latest, macos-latest]
29-
arch: [auto64]
30-
cibw_build: ["cp3{7,8,9,10,11}-*"]
31-
p_ver: ["3.7-3.11"]
32-
include:
33-
- arch: arm64
34-
os: macos-latest
35-
cibw_build: "cp3{7,8,9,10,11}-*"
36-
p_ver: "3.7-3.11"
37-
- arch: aarch64
38-
os: ubuntu-latest
39-
cibw_build: "cp37*"
40-
p_ver: "3.7"
41-
- arch: aarch64
42-
os: ubuntu-latest
43-
cibw_build: "cp38*"
44-
p_ver: "3.8"
45-
- arch: aarch64
46-
os: ubuntu-latest
47-
cibw_build: "cp39*"
48-
p_ver: "3.9"
49-
- arch: aarch64
50-
os: ubuntu-latest
51-
cibw_build: "cp310*"
52-
p_ver: "3.10"
53-
- arch: aarch64
54-
os: ubuntu-latest
55-
cibw_build: "cp311*"
56-
p_ver: "3.11"
30+
arch: [x86_64, aarch64]
31+
cibw_build: ["cp3{9,10,11,12}-*"]
32+
p_ver: ["3.9-3.12"]
33+
exclude:
34+
- os: windows-latest
35+
arch: aarch64
36+
# cibuild is already in charge to build aarch64 (see CIBW_ARCHS_MACOS)
37+
- os: macos-latest
38+
arch: aarch64
5739

5840
steps:
5941
- uses: actions/checkout@v3
@@ -70,11 +52,11 @@ jobs:
7052
- uses: docker/setup-qemu-action@v2
7153
if: ${{ matrix.arch == 'aarch64' }}
7254
name: Set up QEMU
73-
74-
- name: Build wheels for Python
55+
56+
- name: Build wheels
7557
run: |
7658
python -m cibuildwheel --output-dir wheelhouse
77-
59+
7860
- name: Make sdist
7961
if: ${{ matrix.os == 'windows-latest' }}
8062
run: |

ANNOUNCE.rst

+29-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,40 @@
11
========================
2-
Announcing NumExpr 2.8.6
2+
Announcing NumExpr 2.8.7
33
========================
44

5-
Hi everyone,
5+
Hi everyone,
66

7-
...
7+
NumExpr 2.8.7 is a release to deal with issues related to downstream `pandas`
8+
and other projects where the sanitization blacklist was triggering issue in their
9+
evaluate. Hopefully, the new sanitization code would be much more robust now.
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.7`
17+
18+
in your requirements.
19+
20+
Project documentation is available at:
21+
22+
http://numexpr.readthedocs.io/
823

924
Changes from 2.8.5 to 2.8.6
1025
---------------------------
1126

12-
** Under development **
27+
* More permissive rules in sanitizing regular expression: allow to access digits
28+
after the . with scientific notation. Thanks to Thomas Vincent.
29+
30+
* Don't reject double underscores that are not at the start or end of a variable
31+
name (pandas uses those), or scientific-notation numbers with digits after the
32+
decimal point. Thanks to Rebecca Palmer.
33+
34+
* Do not use `numpy.alltrue` in the test suite, as it has been deprecated
35+
(replaced by `numpy.all`). Thanks to Rebecca Chen.
36+
37+
* Wheels for Python 3.12. Wheels for 3.7 and 3.8 are not generated anymore.
1338

1439
What's Numexpr?
1540
---------------

README.rst

+16
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,22 @@ NumExpr: Fast numerical expression evaluator for NumPy
2424
.. |version| image:: https://img.shields.io/pypi/v/numexpr.png
2525
:target: https://pypi.python.org/pypi/numexpr
2626

27+
IMPORTANT NOTE: NumExpr is looking for maintainers!
28+
---------------------------------------------------
29+
30+
After 5 years as a solo maintainer (and performing a most excellent work), Robert McLeod
31+
is asking for a well deserved break. So the NumExpr project is looking for a new
32+
maintainer for a package that is used in pandas, PyTables and many other packages.
33+
If have benefited of NumExpr capabilities in the past, and willing to contribute back to
34+
the community, we would be happy to hear about you!
35+
36+
We are looking for someone that is knowledgeable about compiling extensions, and that is
37+
ready to spend some cycles in making releases (2 or 3 a year, maybe even less!).
38+
Interested? just open a new ticket here and we will help you onboarding!
39+
40+
Thank you!
41+
42+
2743
What is NumExpr?
2844
----------------
2945

0 commit comments

Comments
 (0)