From d8b9c071ef23a36809f6d3176447af3bd15056da Mon Sep 17 00:00:00 2001 From: Dmitry Bogdanov Date: Mon, 22 Aug 2022 16:01:47 +0200 Subject: [PATCH 1/2] Enable building Python 3.11 wheels --- travis/build_wheels.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/travis/build_wheels.sh b/travis/build_wheels.sh index e39acf70c..05cbac094 100755 --- a/travis/build_wheels.sh +++ b/travis/build_wheels.sh @@ -102,10 +102,6 @@ done # Install and test for PYBIN in /opt/python/cp3*/bin/; do - if [[ $PYBIN == *"cp311"* ]]; then - # FIXME Not supported by NumPy yet. Skip. - continue - fi "${PYBIN}/pip" install "${PROJECT_NAME}" --no-index -f /io/wheelhouse if [[ $WITH_TENSORFLOW ]]; then # Test that essentia can be imported along with the latest TensorFlow for each Python version From 82ea30a20a0966932d4948f71921071ef5bea464 Mon Sep 17 00:00:00 2001 From: Dmitry Bogdanov Date: Mon, 22 Aug 2022 20:56:23 +0200 Subject: [PATCH 2/2] Enable building Python 3.11 wheels (cont.) --- travis/build_wheels.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/travis/build_wheels.sh b/travis/build_wheels.sh index 05cbac094..dfff4bf2a 100755 --- a/travis/build_wheels.sh +++ b/travis/build_wheels.sh @@ -51,8 +51,7 @@ for PYBIN in /opt/python/cp3*/bin; do # Python 3.x if [[ $PYBIN == *"cp311"* ]]; then - # FIXME Not supported by NumPy yet. Update ASAP. - continue + NUMPY_VERSION=1.23.2 elif [[ $PYBIN == *"cp310"* ]]; then NUMPY_VERSION=1.21.4 elif [[ $PYBIN == *"cp39"* ]]; then