Skip to content

Commit

Permalink
Merge pull request #157 from gerrod3/3.9-python
Browse files Browse the repository at this point in the history
Update switch_python script to new default python version 3.9
  • Loading branch information
mdellweg authored Apr 22, 2024
2 parents 75ee4c1 + e1e7eb3 commit 9f2038c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions base/switch_python
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9f2038c

Please sign in to comment.