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 Oct 26, 2020
1 parent 63ec380 commit b16ad69
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 7 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ python:
- 2.7
- 3.5
- 3.6
- 3.7
- 3.8
- 3.9-dev
matrix:
include:
- python: 3.7
dist: xenial
- python: 3.6
- python: 3.8
name: "Flake8"
install: pip install -U flake8
script: flake8 --doctests src setup.py
after_success:
install:
- pip install -U pip setuptools zope.testrunner
- pip install -U coveralls coverage
Expand Down
4 changes: 3 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ Changelog
2.2 (unreleased)
----------------

- Add support for Zope 5.
* Add support for Zope 5.

* Add support for Python 3.8 and 3.9


2.1 (2019-03-05)
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
"Programming Language :: Python :: 3.5",
"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",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
Expand Down
14 changes: 11 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
[tox]
envlist = flake8,py27,py35,py36,py37,coverage
envlist =
flake8
py27
py35
py36
py37
py38
py39
coverage

[testenv]
usedevelop = true
Expand All @@ -11,7 +19,7 @@ deps = zope.testrunner

[testenv:coverage]
usedevelop = true
basepython = python3.6
basepython = python3.8
commands =
coverage run -m zope.testrunner --test-path=src []
coverage html
Expand All @@ -21,7 +29,7 @@ deps =
coverage

[testenv:flake8]
basepython = python3.6
basepython = python3.8
skip_install = true
deps = flake8
commands = flake8 --doctests src setup.py

0 comments on commit b16ad69

Please sign in to comment.