Skip to content

Commit

Permalink
Do not hardcode 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
olupton committed May 23, 2024
1 parent 9c872f8 commit a6c3a0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/container/build-jax.sh
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,8 @@ line="jaxlib @ file://${BUILD_PATH_JAXLIB}"
if ! grep -xF "${line}" "${SRC_PATH_JAX}/build/requirements.in"; then
pushd "${SRC_PATH_JAX}"
echo "${line}" >> build/requirements.in
bazel run //build:requirements_dev.update --repo_env=HERMETIC_PYTHON_VERSION="3.10"
PYTHON_VERSION=$(python -c 'import sys; print("{}.{}".format(*sys.version_info[:2]))')
bazel run //build:requirements_dev.update --repo_env=HERMETIC_PYTHON_VERSION="${PYTHON_VERSION}"
popd
fi

Expand Down

0 comments on commit a6c3a0e

Please sign in to comment.