From e1e7eb3d040305ad38b38c9b71327151e61651e6 Mon Sep 17 00:00:00 2001 From: Gerrod Ubben Date: Tue, 9 Apr 2024 14:25:29 -0400 Subject: [PATCH] Update switch_python script to new default python version 3.9 [noissue] --- base/Dockerfile | 2 +- base/switch_python | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/base/Dockerfile b/base/Dockerfile index bc9acf5..ab7cd74 100644 --- a/base/Dockerfile +++ b/base/Dockerfile @@ -10,7 +10,7 @@ ENV XDG_CONFIG_HOME=/opt/settings COPY dev_requirements.txt /dev_requirements.txt COPY switch_python /usr/bin/switch_python -ARG PYTHON_VERSION=3.8 +ARG PYTHON_VERSION=3.9 RUN switch_python "$PYTHON_VERSION" RUN pip3 install -r dev_requirements.txt diff --git a/base/switch_python b/base/switch_python index 03f5128..1c8d352 100755 --- a/base/switch_python +++ b/base/switch_python @@ -3,8 +3,8 @@ set -e NEWV=$1 -if [[ "$NEWV" == "3.8" ]]; then - echo "using default python 3.8" +if [[ "$NEWV" == "3.9" ]]; then + echo "using default python 3.9" exit 0 fi