Skip to content

Commit 418a1bb

Browse files
committedFeb 12, 2025
Stay with python3.12
1 parent aabb773 commit 418a1bb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
 

‎.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,4 @@ repos:
8989
- id: shell-fmt-docker
9090
args:
9191
- -i
92-
- "2"
92+
- '2'

‎install.cmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ echo Install OTVision.
33
FOR /F "tokens=* USEBACKQ" %%F IN (`python --version`) DO SET PYTHON_VERSION=%%F
44

55
echo %PYTHON_VERSION%
6-
if "x%PYTHON_VERSION:3.11=%"=="x%PYTHON_VERSION%" (
7-
echo "Python Version 3.11 is not installed in environment." & cmd /K & exit
6+
if "x%PYTHON_VERSION:3.12=%"=="x%PYTHON_VERSION%" (
7+
echo "Python Version 3.12 is not installed in environment." & cmd /K & exit
88
)
99

1010
python -m venv venv

‎install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ VENV="$WORKING_DIR"/venv
1818
PYTHON="$VENV"/bin/python
1919
PIP="$VENV"/bin/pip
2020

21-
python3.11 -m venv "$VENV"
21+
python3.12 -m venv "$VENV"
2222

2323
$PYTHON -m pip install --upgrade pip
2424
$PIP install -r requirements.txt

0 commit comments

Comments
 (0)