Skip to content

Commit 05c564d

Browse files
committed
skip Py 3.10 on manylinux2010
1 parent 9625cf4 commit 05c564d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build-wheels.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,16 +99,21 @@ jobs:
9999
./bin/gitversion --hash-only > build/${QUIP_ARCH}/VERSION
100100
echo "CIBW_ENVIRONMENT=$CIBW_ENVIRONMENT"
101101
if [ "$RUNNER_OS" == "macOS" ]; then
102+
export CIBW_SKIP="cp27-* cp35-* cp36-* cp311-* pp* *musllinux*"
102103
python -m cibuildwheel --output-dir wheelhouse --archs $ARCHS build/${QUIP_ARCH}
103104
else
104105
for CIBW_MANYLINUX_X86_64_IMAGE in manylinux2010 manylinux2014; do
106+
if [ "$CIBW_MANYLINUX_X86_64_IMAGE" == "manylinux2010" ]; then
107+
export CIBW_SKIP="cp27-* cp35-* cp36-* cp310-* cp311-* pp* *musllinux*"
108+
else
109+
export CIBW_SKIP="cp27-* cp35-* cp36-* cp311-* pp* *musllinux*"
110+
fi
105111
export CIBW_MANYLINUX_X86_64_IMAGE
106112
python -m cibuildwheel --output-dir wheelhouse --archs $ARCHS build/${QUIP_ARCH}
107113
done
108114
fi
109115
done
110116
env:
111-
CIBW_SKIP: cp27-* cp35-* cp36-* cp311-* pp* *musllinux*
112117
CIBW_TEST_SKIP: "*-macosx_arm64"
113118
CIBW_BEFORE_ALL_MACOS: "brew install gfortran && brew unlink gfortran && brew link gfortran"
114119
CIBW_BEFORE_ALL_LINUX: "which yum && yum install -y gcc-gfortran || apk add gfortran"

0 commit comments

Comments
 (0)