Skip to content

Commit

Permalink
Merge pull request xmlsec#160 from hoefling/cp39
Browse files Browse the repository at this point in the history
Add python 3.9 build jobs
  • Loading branch information
hoefling authored Oct 29, 2020
2 parents 18cbae1 + 5a21f3f commit 6ed9d42
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 5 deletions.
24 changes: 24 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,32 @@ environment:
- python: 37-x64
- python: 38
- python: 38-x64
- python: 39
python_version: 3.9.0
- python: 39-x64
python_version: 3.9.0

install:
- ps: |
# from https://github.com/appveyor/build-images/blob/27bde614bc60d7ef7a8bc46182f4d7582fa11b56/scripts/Windows/install_python.ps1#L88-L108
function InstallPythonEXE($targetPath, $version) {
$urlPlatform = ""
if ($targetPath -match '-x64$') {
$urlPlatform = "-amd64"
}
Write-Host "Installing Python $version$urlPlatform to $($targetPath)..." -ForegroundColor Cyan
$downloadUrl = "https://www.python.org/ftp/python/$version/python-$version$urlPlatform.exe"
Write-Host "Downloading $($downloadUrl)..."
$exePath = "$env:TEMP\python-$version.exe"
(New-Object Net.WebClient).DownloadFile($downloadUrl, $exePath)
Write-Host "Installing..."
cmd /c start /wait $exePath /quiet TargetDir="$targetPath" Shortcuts=0 Include_launcher=1 InstallLauncherAllUsers=1 Include_debug=1
Remove-Item $exePath
Write-Host "Installed Python $version" -ForegroundColor Green
}
if ( -not ( Test-Path -Path C:\\Python$env:PYTHON -PathType Container ) ) {
InstallPythonEXE C:\\Python$env:PYTHON $env:PYTHON_VERSION
}
- SET PATH=C:\\Python%PYTHON%;c:\\Python%PYTHON%\\scripts;%PATH%
- python -m pip install -U pip wheel setuptools

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macosx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
python: [2.7, 3.5, 3.6, 3.7, 3.8]
python: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v1
- name: Setup Python
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manylinux2010.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
container: quay.io/pypa/manylinux2010_x86_64
strategy:
matrix:
python-abi: [cp27-cp27m, cp27-cp27mu, cp35-cp35m, cp36-cp36m, cp37-cp37m, cp38-cp38]
python-abi: [cp27-cp27m, cp27-cp27mu, cp35-cp35m, cp36-cp36m, cp37-cp37m, cp38-cp38, cp39-cp39]
steps:
- uses: actions/checkout@v1
- name: Install build dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sdist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.9
- name: Install build dependencies
run: |
pip install --upgrade pip setuptools wheel
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ matrix:
- python: 3.8
dist: xenial
sudo: required
- python: 3.9-dev
- python: 3.9
dist: xenial
sudo: required
env:
Expand Down

0 comments on commit 6ed9d42

Please sign in to comment.