Skip to content

Commit

Permalink
Add Python 3.10 support
Browse files Browse the repository at this point in the history
  • Loading branch information
fmder committed Jan 17, 2022
1 parent 2f63dcf commit f9a4a59
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ jobs:
vmImage: 'vs2017-win2016'
strategy:
matrix:
Python27_VS2017:
python.version: '2.7'
Python36_VS2017:
python.version: '3.6'
Python37_VS2017:
Expand All @@ -21,15 +19,13 @@ jobs:
python.version: '3.8'
Python39_VS2017:
python.version: '3.9'
Python310_VS2017:
python.version: '3.10'
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'
- script: |
choco install vcpython27 --yes
condition: eq(variables['python.version'], '2.7')
displayName: 'Install vcpython27'
- script: |
python -m pip install --upgrade pip
pip install numpy
Expand All @@ -41,14 +37,12 @@ jobs:
python setup.py sdist bdist_wheel
twine upload -r pypi -u $(twineUsername) -p $(twinePassword) --skip-existing --disable-progress-bar dist/*
displayName: 'Publish wheel to PyPi'
- job: macOS10_14Build
pool:
vmImage: 'macOS-10.14'
strategy:
matrix:
Python27_macOS1014:
python.version: '2.7'
Python36_macOS1014:
python.version: '3.6'
Python37_macOS1014:
Expand All @@ -57,6 +51,8 @@ jobs:
python.version: '3.8'
Python39_macOS1014:
python.version: '3.9'
Python310_macOS1014:
python.version: '3.10'
steps:
- task: UsePythonVersion@0
inputs:
Expand All @@ -73,7 +69,7 @@ jobs:
python setup.py sdist bdist_wheel
twine upload -r pypi -u $(twineUsername) -p $(twinePassword) --skip-existing --disable-progress-bar dist/*
displayName: 'Publish wheel to PyPi'
- job: Manylinux2010Build
pool:
vmImage: 'ubuntu-16.04'
Expand Down Expand Up @@ -117,6 +113,9 @@ jobs:
Py39 Arm64:
python.version: 'cp39-cp39'
manylinux: 'manylinux_aarch64'
Py310 Arm64:
python.version: 'cp310-cp310'
manylinux: 'manylinux_aarch64'
steps:
- script: docker run --rm --privileged hypriot/qemu-register
displayName: 'Registering qemu'
Expand Down

0 comments on commit f9a4a59

Please sign in to comment.