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 -4
View File
@@ -4,7 +4,7 @@
os: linux
dist: focal
language: python
python: "3.9"
python: "3.12"
jobs:
include:
@@ -14,10 +14,10 @@ jobs:
- os: windows
language: shell
before_install:
- 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
install:
- python3 -m pip install cibuildwheel==2.19.2