Skip to content

Commit e484332

Browse files
committed
Switch python3 with python
Some docker images have python3 set up as the system python with certain dependencies missing (e.g: auditwheel).
1 parent 47fdbae commit e484332

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ci/build_artifacts.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@ source "ci/utilities/setup_build_environment.sh"
2020

2121
# Build the jax artifact
2222
if [[ "$JAXCI_BUILD_JAX" == 1 ]]; then
23-
python3 -m build --outdir $JAXCI_OUTPUT_DIR
23+
python -m build --outdir $JAXCI_OUTPUT_DIR
2424
fi
2525

2626
# Build the jaxlib CPU artifact
2727
if [[ "$JAXCI_BUILD_JAXLIB" == 1 ]]; then
28-
python3 build/build.py jaxlib --ci_mode --request_rbe --python_version=$JAXCI_HERMETIC_PYTHON_VERSION --verbose
28+
python build/build.py jaxlib --ci_mode --request_rbe --python_version=$JAXCI_HERMETIC_PYTHON_VERSION --verbose
2929
fi
3030

3131
# Build the jax-cuda-plugin artifact
3232
if [[ "$JAXCI_BUILD_PLUGIN" == 1 ]]; then
33-
python3 build/build.py jax-cuda-plugin --ci_mode --request_rbe --python_version=$JAXCI_HERMETIC_PYTHON_VERSION --verbose
33+
python build/build.py jax-cuda-plugin --ci_mode --request_rbe --python_version=$JAXCI_HERMETIC_PYTHON_VERSION --verbose
3434
fi
3535

3636
# Build the jax-cuda-pjrt artifact
3737
if [[ "$JAXCI_BUILD_PJRT" == 1 ]]; then
38-
python3 build/build.py jax-cuda-pjrt --ci_mode --request_rbe --verbose
38+
python build/build.py jax-cuda-pjrt --ci_mode --request_rbe --verbose
3939
fi
4040

4141
# After building `jaxlib`, `jaxcuda-plugin`, and `jax-cuda-pjrt`, we run

ci/utilities/run_auditwheel.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ fi
2828
for wheel in $WHEELS; do
2929
printf "\nRunning auditwheel on the following wheel:"
3030
ls $wheel
31-
OUTPUT_FULL=$(python3 -m auditwheel show $wheel)
31+
OUTPUT_FULL=$(python -m auditwheel show $wheel)
3232
# Remove the wheel name from the output to avoid false positives.
3333
wheel_name=$(basename $wheel)
3434
OUTPUT=${OUTPUT_FULL//${wheel_name}/}

0 commit comments

Comments
 (0)