Skip to content

Commit 9c0f5ce

Browse files
committed
Add support for Python 3.8 release version on all platforms
Also: - Try adding support for 3.9-dev on Travis - Update to running flake8 for 3.8 instead of 3.7
1 parent 5b19867 commit 9c0f5ce

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

.appveyor.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,14 @@ environment:
88
PYTHON_VERSION: "3.6.x"
99
PYTHON_ARCH: "64"
1010
TOXENV: "py36"
11-
1211
- PYTHON: "C:\\Miniconda37-x64"
1312
PYTHON_VERSION: "3.7.x"
1413
PYTHON_ARCH: "64"
1514
TOXENV: "py37"
15+
- PYTHON: "C:\\Miniconda38-x64"
16+
PYTHON_VERSION: "3.8.x"
17+
PYTHON_ARCH: "64"
18+
TOXENV: "py38"
1619

1720
init:
1821
- "%PYTHON%/python -V"

.travis.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,13 @@ matrix:
1313
dist: xenial
1414
env: TOXENV=py37
1515
- os: linux
16-
python: 3.8-dev
16+
python: 3.8
1717
dist: xenial
1818
env: TOXENV=py38
19+
- os: linux
20+
python: 3.9-dev
21+
dist: xenial
22+
env: TOXENV=py39
1923
- os: linux
2024
python: 3.5
2125
env: TOXENV=docs
@@ -43,7 +47,7 @@ install:
4347
before_script:
4448
# stop the build if there are Python syntax errors or undefined names
4549
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
46-
if [[ $TOXENV == py37 ]]; then
50+
if [[ $TOXENV == py38 ]]; then
4751
flake8 . --count --ignore=E252,W503 --max-complexity=26 --max-line-length=127 --show-source --statistics ;
4852
fi
4953

azure-pipelines.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
Python37:
2424
python.version: '3.7'
2525
TOXENV: 'py37'
26+
Python38:
27+
python.version: '3.8'
28+
TOXENV: 'py38'
2629
# Increase the maxParallel value to simultaneously run the job for all versions in the matrix (max 10 for free open-source)
2730
maxParallel: 4
2831

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = docs,py35,py36,py37,py38
2+
envlist = docs,py35,py36,py37,py38,py39
33

44
[pytest]
55
testpaths = tests

0 commit comments

Comments
 (0)