From 1d2059f4d1efec616435e932f292b9af5095423e Mon Sep 17 00:00:00 2001 From: "Kevin R. Thornton" Date: Thu, 28 Sep 2023 14:31:22 -0700 Subject: [PATCH] Fixes to deployment/linux_wheels: (#1194) * install cbindgen --locked * Update to py 3.8 thru 3.11 Fixes #1191 --- deployment/linux_wheels/Dockerfile | 2 +- deployment/linux_wheels/build_and_audit.sh | 2 +- deployment/linux_wheels/install_wheels_run_tests.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deployment/linux_wheels/Dockerfile b/deployment/linux_wheels/Dockerfile index fa58bd6379..910d15d91b 100644 --- a/deployment/linux_wheels/Dockerfile +++ b/deployment/linux_wheels/Dockerfile @@ -17,7 +17,7 @@ RUN yum update -y && yum install -y cmake curl gsl-devel \ # so we need to be careful in general. && rustup override set 1.62.1 \ # Pin cbindgen - && cargo install cbindgen@0.24.3 \ + && cargo install --locked cbindgen@0.24.3 \ && rustc --version \ && cbindgen --version \ # The GSL version available from yum install is too old so we manually install. diff --git a/deployment/linux_wheels/build_and_audit.sh b/deployment/linux_wheels/build_and_audit.sh index 1c3c5b2be4..a4ad46bdac 100644 --- a/deployment/linux_wheels/build_and_audit.sh +++ b/deployment/linux_wheels/build_and_audit.sh @@ -1,6 +1,6 @@ rm -rf dist/ -for py in cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310 +for py in cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 do rm -rf build PYPATH=/opt/python/${py} diff --git a/deployment/linux_wheels/install_wheels_run_tests.sh b/deployment/linux_wheels/install_wheels_run_tests.sh index 4726455753..8bcfe6f605 100644 --- a/deployment/linux_wheels/install_wheels_run_tests.sh +++ b/deployment/linux_wheels/install_wheels_run_tests.sh @@ -8,7 +8,7 @@ cd test_wheels # Copy tests over b/c some of the test rely on paths cp -r ../tests . pwd -for py in cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310 +for py in cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 do PYPATH=/opt/python/${py} PYBIN=${PYPATH}/bin/python