Skip to content

Commit

Permalink
Enable Python 3.11 as the default version.
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhao9 committed Sep 28, 2023
1 parent 3480590 commit 21c14a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions docker/gcp-a100-runner-dind.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,10 @@ RUN wget -q https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.s
chmod +x Miniconda3-latest-Linux-x86_64.sh && \
bash ./Miniconda3-latest-Linux-x86_64.sh -b -u

# Use Python 3.10 as default
# Test activate miniconda
RUN . ${HOME}/miniconda3/etc/profile.d/conda.sh && \
conda activate base && \
conda init && \
conda install -y python=3.10
conda init

RUN echo "\
. \${HOME}/miniconda3/etc/profile.d/conda.sh\n\
Expand Down
2 changes: 1 addition & 1 deletion utils/python_utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import argparse
import subprocess

DEFAULT_PYTHON_VERSION = "3.10"
DEFAULT_PYTHON_VERSION = "3.11"

PYTHON_VERSION_MAP = {
"3.8": {
Expand Down

0 comments on commit 21c14a5

Please sign in to comment.