set python upper bound to 3.13 (#34286)

* try

* test

* ...

* wow

* y

* docker

* <
This commit is contained in:
Maxime Desroches
2024-12-18 22:17:28 -08:00
committed by GitHub
parent 383893d39e
commit 9c9b273a3e
4 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ function op_check_python() {
LB=$(echo $REQUIRED_PYTHON_VERSION | tr -d -c '[0-9,]' | cut -d ',' -f1)
UB=$(echo $REQUIRED_PYTHON_VERSION | tr -d -c '[0-9,]' | cut -d ',' -f2)
VERSION=$(echo $INSTALLED_PYTHON_VERSION | grep -o '[0-9]\+\.[0-9]\+' | tr -d -c '[0-9]')
if [[ $VERSION -ge LB && $VERSION -le UB ]]; then
if [[ $VERSION -ge LB && $VERSION -lt UB ]]; then
echo -e " ↳ [${GREEN}${NC}] $INSTALLED_PYTHON_VERSION detected."
else
echo -e " ↳ [${RED}${NC}] You need a python version satisfying $(echo $REQUIRED_PYTHON_VERSION | cut -d '=' -f2-) to continue!"