chore: update examples to use python 3.12 (#1919)

This commit is contained in:
Matthieu Darbois
2024-07-09 09:15:44 -04:00
committed by GitHub
parent 604da878cb
commit cac121a67d
6 changed files with 36 additions and 26 deletions
+4 -6
View File
@@ -8,17 +8,15 @@
os: linux
dist: focal
language: python
python:
- 3.7
- 3.8
python: "3.12"
before_install:
- |
if [[ "$TRAVIS_OS_NAME" = windows ]]; then
choco upgrade python -y --version 3.8.6
export PATH="/c/Python38:/c/Python38/Scripts:$PATH"
choco upgrade python -y --version 3.12.4
export PATH="/c/Python312:/c/Python312/Scripts:$PATH"
# make sure it's on PATH as 'python3'
ln -s /c/Python38/python.exe /c/Python38/python3.exe
ln -s /c/Python312/python.exe /c/Python312/python3.exe
fi
install: