Skip to content

Commit 3c02e8c

Browse files
committed
fix: allow installing on python 3.12
It was reported that running on Python 3.12 is acceptable and supported by the project. So we now open up the installation on Python 3.12 too. Signed-off-by: Sébastien Han <[email protected]>
1 parent 93f713f commit 3c02e8c

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, 3.11.x or 3.12.x
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 3.10.x, 3.11.x or 3.12.x. Detected version: $PYTHON_SYS_VERSION"
3030
exit 1
3131
fi
3232

0 commit comments

Comments
 (0)