Skip to content

Commit

Permalink
Merge pull request #453 from pydata/release-2.8.7
Browse files Browse the repository at this point in the history
Release 2.8.7
  • Loading branch information
FrancescAlted authored Sep 26, 2023
2 parents 62aa9d8 + 625af44 commit cb941c5
Show file tree
Hide file tree
Showing 6 changed files with 143 additions and 112 deletions.
52 changes: 17 additions & 35 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ permissions:

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

jobs:
build_wheels:
Expand All @@ -22,38 +23,19 @@ jobs:
env:
CIBW_BUILD: ${{ matrix.cibw_build }}
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
CIBW_ARCHS_MACOS: ${{ matrix.arch }}
CIBW_ARCHS_MACOS: "x86_64 arm64"
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
arch: [auto64]
cibw_build: ["cp3{7,8,9,10,11}-*"]
p_ver: ["3.7-3.11"]
include:
- arch: arm64
os: macos-latest
cibw_build: "cp3{7,8,9,10,11}-*"
p_ver: "3.7-3.11"
- arch: aarch64
os: ubuntu-latest
cibw_build: "cp37*"
p_ver: "3.7"
- arch: aarch64
os: ubuntu-latest
cibw_build: "cp38*"
p_ver: "3.8"
- arch: aarch64
os: ubuntu-latest
cibw_build: "cp39*"
p_ver: "3.9"
- arch: aarch64
os: ubuntu-latest
cibw_build: "cp310*"
p_ver: "3.10"
- arch: aarch64
os: ubuntu-latest
cibw_build: "cp311*"
p_ver: "3.11"
arch: [x86_64, aarch64]
cibw_build: ["cp3{9,10,11,12}-*"]
p_ver: ["3.9-3.12"]
exclude:
- os: windows-latest
arch: aarch64
# cibuild is already in charge to build aarch64 (see CIBW_ARCHS_MACOS)
- os: macos-latest
arch: aarch64

steps:
- uses: actions/checkout@v3
Expand All @@ -70,11 +52,11 @@ jobs:
- uses: docker/setup-qemu-action@v2
if: ${{ matrix.arch == 'aarch64' }}
name: Set up QEMU
- name: Build wheels for Python

- name: Build wheels
run: |
python -m cibuildwheel --output-dir wheelhouse
- name: Make sdist
if: ${{ matrix.os == 'windows-latest' }}
run: |
Expand Down
33 changes: 29 additions & 4 deletions ANNOUNCE.rst
Original file line number Diff line number Diff line change
@@ -1,15 +1,40 @@
========================
Announcing NumExpr 2.8.6
Announcing NumExpr 2.8.7
========================

Hi everyone,
Hi everyone,

...
NumExpr 2.8.7 is a release to deal with issues related to downstream `pandas`
and other projects where the sanitization blacklist was triggering issue in their
evaluate. Hopefully, the new sanitization code would be much more robust now.

For those who do not wish to have sanitization on by default, it can be changed
by setting an environment variable, `NUMEXPR_SANITIZE=0`.

If you use `pandas` in your packages it is advisable you pin

`numexpr >= 2.8.7`

in your requirements.

Project documentation is available at:

http://numexpr.readthedocs.io/

Changes from 2.8.5 to 2.8.6
---------------------------

** Under development **
* More permissive rules in sanitizing regular expression: allow to access digits
after the . with scientific notation. Thanks to Thomas Vincent.

* Don't reject double underscores that are not at the start or end of a variable
name (pandas uses those), or scientific-notation numbers with digits after the
decimal point. Thanks to Rebecca Palmer.

* Do not use `numpy.alltrue` in the test suite, as it has been deprecated
(replaced by `numpy.all`). Thanks to Rebecca Chen.

* Wheels for Python 3.12. Wheels for 3.7 and 3.8 are not generated anymore.

What's Numexpr?
---------------
Expand Down
16 changes: 16 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,22 @@ NumExpr: Fast numerical expression evaluator for NumPy
.. |version| image:: https://img.shields.io/pypi/v/numexpr.png
:target: https://pypi.python.org/pypi/numexpr

IMPORTANT NOTE: NumExpr is looking for maintainers!
---------------------------------------------------

After 5 years as a solo maintainer (and performing a most excellent work), Robert McLeod
is asking for a well deserved break. So the NumExpr project is looking for a new
maintainer for a package that is used in pandas, PyTables and many other packages.
If have benefited of NumExpr capabilities in the past, and willing to contribute back to
the community, we would be happy to hear about you!

We are looking for someone that is knowledgeable about compiling extensions, and that is
ready to spend some cycles in making releases (2 or 3 a year, maybe even less!).
Interested? just open a new ticket here and we will help you onboarding!

Thank you!


What is NumExpr?
----------------

Expand Down
Loading

0 comments on commit cb941c5

Please sign in to comment.