Skip to content

Commit

Permalink
Disable package build for Python 3.11
Browse files Browse the repository at this point in the history
(Python 3.11 has been release 3 days ago and dependencies need to be checked)
  • Loading branch information
hpwxf committed May 24, 2022
1 parent eb3cde6 commit 634ccdc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bindings/Python/tools/build_wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ yum install -y openblas-devel
# Compile wheels
for PYBIN in /opt/python/*-cp*/bin; do
if [ "${PYBIN}" == "/opt/python/cp35-cp35m/bin" ]; then continue; fi
if [ "${PYBIN}" == "/opt/python/cp311-cp311/bin" ]; then continue; fi
"${PYBIN}/pip" install -r "${ROOT_DIR}"/bindings/Python/requirements.txt # not for Windows
"${PYBIN}/pip" install -r "${ROOT_DIR}"/bindings/Python/dev-requirements.txt # not for Windows
"${PYBIN}/python3" "${ROOT_DIR}"/bindings/Python/setup.py bdist_wheel
Expand All @@ -42,6 +43,7 @@ done
# Install packages and test
for PYBIN in /opt/python/*-cp*/bin; do
if [ "${PYBIN}" == "/opt/python/cp35-cp35m/bin" ]; then continue; fi
if [ "${PYBIN}" == "/opt/python/cp311-cp311/bin" ]; then continue; fi
"${PYBIN}/pip" install pylibkriging --no-index -f "${ROOT_DIR}"/dist
(cd "${ROOT_DIR}"; "${PYBIN}/pytest" "${ROOT_DIR}"/bindings/Python/tests)
done
Expand Down

0 comments on commit 634ccdc

Please sign in to comment.