Skip to content

Commit

Permalink
Add support for Python 3.8 and 3.9.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Sep 28, 2020
1 parent 2d19787 commit 450b8b5
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 232 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ parts
*.pyo
*.so
.coverage
.coverage.*
.installed.cfg
coverage.xml
develop-eggs
Expand Down
7 changes: 1 addition & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ python:
- 3.6
- 3.7
- 3.8
- 3.9-dev
- pypy
- pypy3
matrix:
Expand All @@ -15,12 +16,6 @@ matrix:
- name: "3.7-pure"
python: "3.7"
env: PURE_PYTHON=1
- python: "3.9-dev"
# needed until https://travis-ci.com/icemac/test-travis-dev is green
before_install:
- /opt/python/3.9-dev/bin/python -m venv py39
- . py39/bin/activate

install:
- pip install -U coveralls coverage coverage-python-version
- pip install -U six
Expand Down
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Changelog
4.7 (unreleased)
----------------

- Nothing changed yet.
- Add support for Python 3.8 and 3.9.


4.6 (2019-04-24)
Expand Down
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ environment:
- python: 36-x64
- python: 37
- python: 37-x64
- python: 38
- python: 38-x64

install:
- "SET PATH=C:\\Python%PYTHON%;c:\\Python%PYTHON%\\scripts;%PATH%"
Expand Down
189 changes: 0 additions & 189 deletions bootstrap.py

This file was deleted.

1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
Expand Down
46 changes: 10 additions & 36 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
[tox]
envlist =
py27,py27-pure,py35,py35-pure,py36,py36-pure,py37,py37-pure,py38,py38-pure,pypy,pypy3,coverage
py27,py27-pure,
py35,py35-pure,
py36,py36-pure,
py37,py37-pure,
py38,py38-pure,
py39,py39-pure,
pypy,
pypy3,
coverage

[testenv]
install_command = pip install --no-cache-dir --no-binary=:all: {opts} {packages}
Expand All @@ -13,41 +21,7 @@ deps =
setenv =
PIP_NO_CACHE = 1
COVERAGE_FILE=.coverage.{envname}

[testenv:py27-pure]
basepython =
python2.7
setenv =
PURE_PYTHON = 1
COVERAGE_FILE=.coverage.{envname}

[testenv:py35-pure]
basepython =
python3.5
setenv =
PURE_PYTHON = 1
COVERAGE_FILE=.coverage.{envname}

[testenv:py36-pure]
basepython =
python3.6
setenv =
PURE_PYTHON = 1
COVERAGE_FILE=.coverage.{envname}

[testenv:py37-pure]
basepython =
python3.7
setenv =
PURE_PYTHON = 1
COVERAGE_FILE=.coverage.{envname}

[testenv:py38-pure]
basepython =
python3.8
setenv =
PURE_PYTHON = 1
COVERAGE_FILE=.coverage.{envname}
pure,coverage: PURE_PYTHON = 1

[testenv:coverage]
basepython = python3.7
Expand Down

0 comments on commit 450b8b5

Please sign in to comment.