Skip to content

Commit 6ed9d42

Browse files
authored
Merge pull request #160 from hoefling/cp39
Add python 3.9 build jobs
2 parents 18cbae1 + 5a21f3f commit 6ed9d42

File tree

5 files changed

+29
-5
lines changed

5 files changed

+29
-5
lines changed

.appveyor.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,32 @@ environment:
1010
- python: 37-x64
1111
- python: 38
1212
- python: 38-x64
13+
- python: 39
14+
python_version: 3.9.0
15+
- python: 39-x64
16+
python_version: 3.9.0
1317

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

.github/workflows/macosx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
runs-on: macos-latest
66
strategy:
77
matrix:
8-
python: [2.7, 3.5, 3.6, 3.7, 3.8]
8+
python: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9]
99
steps:
1010
- uses: actions/checkout@v1
1111
- name: Setup Python

.github/workflows/manylinux2010.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
container: quay.io/pypa/manylinux2010_x86_64
77
strategy:
88
matrix:
9-
python-abi: [cp27-cp27m, cp27-cp27mu, cp35-cp35m, cp36-cp36m, cp37-cp37m, cp38-cp38]
9+
python-abi: [cp27-cp27m, cp27-cp27mu, cp35-cp35m, cp36-cp36m, cp37-cp37m, cp38-cp38, cp39-cp39]
1010
steps:
1111
- uses: actions/checkout@v1
1212
- name: Install build dependencies

.github/workflows/sdist.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ jobs:
55
runs-on: ubuntu-latest
66
steps:
77
- uses: actions/checkout@v1
8-
- name: Set up Python 3.8
8+
- name: Set up Python 3.9
99
uses: actions/setup-python@v2
1010
with:
11-
python-version: 3.8
11+
python-version: 3.9
1212
- name: Install build dependencies
1313
run: |
1414
pip install --upgrade pip setuptools wheel

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ matrix:
1414
- python: 3.8
1515
dist: xenial
1616
sudo: required
17-
- python: 3.9-dev
17+
- python: 3.9
1818
dist: xenial
1919
sudo: required
2020
env:

0 commit comments

Comments
 (0)