Skip to content

Commit

Permalink
ci(framework) Use Python 3.9 as default in scripts (#4195)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbvll authored Sep 13, 2024
1 parent 5504dd5 commit f5cc9ab
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion dev/build-docker-image-matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class Distro:

LATEST_SUPPORTED_PYTHON_VERSION = "3.11"
SUPPORTED_PYTHON_VERSIONS = [
"3.8",
"3.9",
"3.10",
LATEST_SUPPORTED_PYTHON_VERSION,
Expand Down
2 changes: 1 addition & 1 deletion dev/setup-defaults.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -e

version=${1:-3.8.17}
version=${1:-3.9.20}

# To install pyenv and virtualenv plugin
function install_pyenv(){
Expand Down
2 changes: 1 addition & 1 deletion dev/venv-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -e
cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"/../

version=${1:-3.8.17}
version=${1:-3.9.20}

# Check if the directory for the Python version does not exist and if so,
# install the right Python version through pyenv
Expand Down
2 changes: 1 addition & 1 deletion dev/venv-delete.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
set -e
cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"/../

version=${1:-3.8.17}
version=${1:-3.9.20}

pyenv uninstall -f flower-$version
2 changes: 1 addition & 1 deletion dev/venv-reset.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -e
cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"/../

version=${1:-3.8.17}
version=${1:-3.9.20}

# Delete caches, venv, and lock file
./dev/rm-caches.sh
Expand Down

0 comments on commit f5cc9ab

Please sign in to comment.