Skip to content

Commit

Permalink
Merge pull request #956 from hramezani/python38_support
Browse files Browse the repository at this point in the history
Add python 3.8 support
  • Loading branch information
atugushev authored Nov 10, 2019
2 parents 58a3eb1 + 4b910e3 commit 2649a8e
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 7 deletions.
24 changes: 24 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,34 @@ environment:
- TOXENV: py37-piplatest-coverage
PIP: latest

- TOXENV: py38-pip9.0.1
PIP: 9.0.1
- TOXENV: py38-pip9.0.3
PIP: 9.0.3
- TOXENV: py38-pip10.0.1
PIP: 10.0.1
- TOXENV: py38-pip18.0
PIP: 18.0
- TOXENV: py38-pip19.0.3
PIP: 19.0.3
- TOXENV: py38-pip19.1
PIP: 19.1
- TOXENV: py38-pip19.2.3-coverage
PIP: 19.2.3
- TOXENV: py38-pip19.3-coverage
PIP: 19.3
- TOXENV: py38-pipmaster-coverage
PIP: master
- TOXENV: py38-piplatest-coverage
PIP: latest

matrix:
fast_finish: true
allow_failures:
- PIP: master
exclude:
# platform.linux_distribution() is removed in Python 3.8 (bpo-28167).
- TOXENV: py38-pip8.1.1

install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [2.7, 3.5, 3.6, 3.7]
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
env:
- TOXENV: pipmaster
os: [ubuntu-latest, windows-latest]
Expand Down
14 changes: 8 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"

env:
# NOTE: keep this in sync with envlist in tox.ini for tox-travis.
Expand Down Expand Up @@ -37,8 +38,13 @@ jobs:
exclude:
- python: "pypy3.5-6.0"
env: PIP=8.1.1
# platform.linux_distribution() is removed in Python 3.8 (bpo-28167).
- python: "3.8"
env: PIP=8.1.1

# Baseline jobs (included there/below).
- env: PIP=latest
python: "3.8"
- env: PIP=latest
python: "3.7"
- env: PIP=latest
Expand All @@ -48,6 +54,8 @@ jobs:
# Baseline stage to abort early.
- stage: baseline
env: PIP=latest
python: "3.8"
- env: PIP=latest
python: "3.7"
- env: PIP=latest
python: "2.7"
Expand All @@ -63,11 +71,6 @@ jobs:
python: 2.7
after_success: skip # No need coverage

# Default stage (used with matrix).
- stage: test
python: 3.8-dev
env: PIP=latest

# Only test pypy/pypy3 with latest pip.
- env: PIP=latest
python: "pypy2.7-6.0"
Expand All @@ -92,7 +95,6 @@ jobs:
repo: jazzband/pip-tools
allow_failures:
- env: PIP=master
- python: 3.8-dev

after_success:
- travis_retry pip install codecov coveralls
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def read_file(filename):
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: System :: Systems Administration",
Expand Down

0 comments on commit 2649a8e

Please sign in to comment.