Merge pull request #2456 from swt2c/python3.12

Add CI for Python 3.12 (and drop EOL Python 3.7)
This commit is contained in:
Scott Talbert
2023-10-30 09:15:44 -04:00
committed by GitHub
3 changed files with 16 additions and 12 deletions

View File

@@ -6,8 +6,6 @@ jobs:
vmImage: 'Ubuntu 20.04'
strategy:
matrix:
Py37:
python.version: '3.7'
Py38:
python.version: '3.8'
Py39:
@@ -16,6 +14,8 @@ jobs:
python.version: '3.10'
Py311:
python.version: '3.11'
Py312:
python.version: '3.12'
variables:
PYTHONUNBUFFERED: '1'

View File

@@ -6,8 +6,6 @@ jobs:
vmImage: 'macOS-11'
strategy:
matrix:
Py37:
python.version: '3.7'
Py38:
python.version: '3.8'
Py39:
@@ -16,6 +14,8 @@ jobs:
python.version: '3.10'
Py311:
python.version: '3.11'
Py312:
python.version: '3.12'
variables:
PYTHONUNBUFFERED: '1'

View File

@@ -6,10 +6,6 @@ jobs:
vmImage: 'windows-2022'
strategy:
matrix:
Py37_x86:
python.version: '3.7'
python.arch: x86
addToPath: true
Py38_x86:
python.version: '3.8'
python.arch: x86
@@ -26,11 +22,11 @@ jobs:
python.version: '3.11'
python.arch: x86
addToPath: true
Py37_x64:
python.version: '3.7'
python.arch: x64
Py312_x86:
python.version: '3.12'
python.arch: x86
addToPath: true
Py38_x64:
python.version: '3.8'
python.arch: x64
@@ -47,6 +43,10 @@ jobs:
python.version: '3.11'
python.arch: x64
addToPath: true
Py312_x64:
python.version: '3.12'
python.arch: x64
addToPath: true
variables: {'PYTHONUNBUFFERED': '1'}
@@ -74,6 +74,10 @@ jobs:
python -m pip install --prefer-binary -r requirements.txt
displayName: 'Install Python dependencies'
- bash: |
rm C:/Program\ Files/Microsoft\ Visual\ Studio/2022/Enterprise/VC/Auxiliary/Build/Microsoft.VCToolsVersion.v143.default.*
displayName: 'Remove extra MSVC version'
- task: BatchScript@1
displayName: 'Set up vcvarsall'
inputs: