Skip to content

Commit

Permalink
Fix compile error on free-threaded python
Browse files Browse the repository at this point in the history
Fixes the error:

    unknown type name '__pyx_vectorcallfunc'; did you mean 'vectorcallfunc'
  • Loading branch information
coldfix committed Dec 17, 2024
1 parent 7a88047 commit 9c55686
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/build/linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ FROM quay.io/pypa/$BASE

ARG UID=1000
ARG GID=$UID
ENV PATH="/opt/python/cp36-cp36m/bin:${PATH}"
# Highest version supported by manylinux1:
ENV PATH="/opt/python/cp39-cp39/bin:${PATH}"

RUN groupadd -o -g $GID runner && \
useradd -o -u $UID -g $GID runner && \
if [[ $AUDITWHEEL_PLAT == manylinux2014_* ]]; then \
yum install -y glibc-static; \
fi && \
pip install --upgrade cmake cython --only-binary=cmake && \
pip install --upgrade cmake 'cython>=3.1.0a1' --only-binary=cmake && \
for PYBIN in /opt/python/cp3*/bin; do \
"${PYBIN}/pip" install -U setuptools; \
done
Expand Down

0 comments on commit 9c55686

Please sign in to comment.