Skip to content

Commit 2646e3d

Browse files
authored
Merge pull request #853 from python-cmd2/python_38
Upgrade Travis and AzurePipelines to use release version of Python 3.8
2 parents 5b19867 + 30e9ca5 commit 2646e3d

File tree

6 files changed

+15
-5
lines changed

6 files changed

+15
-5
lines changed

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,15 @@ 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
1919
- os: linux
20-
python: 3.5
20+
python: 3.9-dev
21+
dist: xenial
22+
env: TOXENV=py39
23+
- os: linux
24+
python: 3.7
2125
env: TOXENV=docs
2226
# # Warning: Don't try to use code coverage analysis with pypy as it is insanely slow
2327
# - os: linux
@@ -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

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Added function to truncate a single line to fit within a given display width. `cmd2.utils.truncate_line`
66
supports characters with display widths greater than 1 and ANSI style sequences.
77
* Added line truncation support to `cmd2.utils` text alignment functions.
8+
* Added support for Python 3.9 alpha
89

910
## 0.9.23 (January 9, 2020)
1011
* Bug Fixes

Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ verify_ssl = true
77
attrs = ">=16.3.0"
88
colorama = ">=0.3.7"
99
pyperclip = ">=1.6"
10+
setuptools = ">=34.4"
1011
wcwidth = ">=0.1.7"
1112

1213
[dev-packages]

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

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
Programming Language :: Python :: 3.6
2626
Programming Language :: Python :: 3.7
2727
Programming Language :: Python :: 3.8
28+
Programming Language :: Python :: 3.9
2829
Programming Language :: Python :: Implementation :: CPython
2930
Topic :: Software Development :: Libraries :: Python Modules
3031
""".splitlines()))) # noqa: E128

tox.ini

Lines changed: 2 additions & 2 deletions
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
@@ -13,7 +13,7 @@ commands =
1313
codecov
1414

1515
[testenv:docs]
16-
basepython = python3.5
16+
basepython = python3.7
1717
deps =
1818
sphinx
1919
sphinx-rtd-theme

0 commit comments

Comments
 (0)