Skip to content

Commit

Permalink
Fixes to deployment/linux_wheels: (#1194)
Browse files Browse the repository at this point in the history
* install cbindgen --locked
* Update to py 3.8 thru 3.11

Fixes #1191
  • Loading branch information
molpopgen authored Sep 28, 2023
1 parent 0087924 commit 1d2059f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deployment/linux_wheels/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion deployment/linux_wheels/build_and_audit.sh
Original file line number Diff line number Diff line change
@@ -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}
Expand Down
2 changes: 1 addition & 1 deletion deployment/linux_wheels/install_wheels_run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1d2059f

Please sign in to comment.