Skip to content

Add python 3.9 build jobs #160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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