From 9f7c4344c0c46da1f9e369737f6d781ca32940ed Mon Sep 17 00:00:00 2001 From: Jens Vagelpohl Date: Thu, 23 May 2024 07:55:51 +0200 Subject: [PATCH] - prevent non-standard interpreters --- config/c-code/manylinux-install.sh.j2 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/config/c-code/manylinux-install.sh.j2 b/config/c-code/manylinux-install.sh.j2 index b8cc00f..6950a65 100644 --- a/config/c-code/manylinux-install.sh.j2 +++ b/config/c-code/manylinux-install.sh.j2 @@ -46,16 +46,16 @@ tox_env_map() { for PYBIN in /opt/python/*/bin; do if \ {% if with_future_python %} - [[ "${PYBIN}" == *"cp313"* ]] || \ + [[ "${PYBIN}" == *"cp313/"* ]] || \ {% endif %} - [[ "${PYBIN}" == *"cp311"* ]] || \ - [[ "${PYBIN}" == *"cp312"* ]] || \ - [[ "${PYBIN}" == *"cp37"* ]] || \ - [[ "${PYBIN}" == *"cp38"* ]] || \ - [[ "${PYBIN}" == *"cp39"* ]] || \ - [[ "${PYBIN}" == *"cp310"* ]] ; then + [[ "${PYBIN}" == *"cp311/"* ]] || \ + [[ "${PYBIN}" == *"cp312/"* ]] || \ + [[ "${PYBIN}" == *"cp37/"* ]] || \ + [[ "${PYBIN}" == *"cp38/"* ]] || \ + [[ "${PYBIN}" == *"cp39/"* ]] || \ + [[ "${PYBIN}" == *"cp310/"* ]] ; then {% if with_future_python %} - if [[ "${PYBIN}" == *"cp313"* ]] ; then + if [[ "${PYBIN}" == *"cp313/"* ]] ; then "${PYBIN}/pip" install --pre -e /io/ "${PYBIN}/pip" wheel /io/ --pre -w wheelhouse/ else