Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit 1335e09

Browse files
authored
Update install_requirements.sh to support python 3.10 >= , <3.13
1 parent 2fcc37c commit 1335e09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install/install_requirements.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ fi
1919
echo "Using python executable: $PYTHON_EXECUTABLE"
2020

2121
PYTHON_SYS_VERSION="$($PYTHON_EXECUTABLE -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')")"
22-
# Check python version. Expect 3.10.x or 3.11.x
22+
# Check python version. Expect 3.10.x to 3.12.x. Note 3.13 may work, but no guarantees
2323
if ! $PYTHON_EXECUTABLE -c "
2424
import sys
25-
if sys.version_info < (3, 10) or sys.version_info >= (3, 12):
25+
if sys.version_info < (3, 10) or sys.version_info >= (3, 13):
2626
sys.exit(1)
2727
";
2828
then
29-
echo "Python version must be 3.10.x or 3.11.x. Detected version: $PYTHON_SYS_VERSION"
29+
echo "Python version must be between 3.10.x and 3.12.x. Detected version: $PYTHON_SYS_VERSION"
3030
exit 1
3131
fi
3232

0 commit comments

Comments
 (0)