Skip to content

Commit

Permalink
Add support for Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Mar 30, 2020
1 parent b7892df commit 20c0834
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 16 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
@@ -1,12 +1,16 @@
language: python
dist: xenial
python:
- 2.7
- 3.5
- 3.6
- 3.7
- 3.8
- pypy
- pypy3
# Not yet, pending https://github.com/zopefoundation/zope.publisher/issues/49
# env:
# global:
# - ZOPE_INTERFACE_STRICT_IRO: 1
install:
- pip install -U pip setuptools
- pip install -U coverage coveralls
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.rst
Expand Up @@ -7,6 +7,8 @@

- Drop support for Python 3.4.

- Add support for Python 3.8.


4.3.1 (2018-10-16)
==================
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -44,7 +44,7 @@ def read(filename):

setup(
name='zope.traversing',
version='4.3.2.dev0',
version='4.4.0.dev0',
url='https://github.com/zopefoundation/zope.traversing',
license='ZPL 2.1',
author='Zope Foundation and Contributors',
Expand All @@ -63,6 +63,7 @@ def read(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',
'Natural Language :: English',
Expand Down
27 changes: 13 additions & 14 deletions tox.ini
@@ -1,39 +1,38 @@
[tox]
envlist =
py27,py35,py36,py37,pypy,pypy3,coverage,docs
py27,py35,py36,py37,py38,pypy,pypy3,coverage,docs
# Note: if you add new Python versions, please add them to
# [testenv:coverage] depends as well!

[testenv]
usedevelop = true
commands =
coverage run -m zope.testrunner --test-path=src []
coverage run -p -m zope.testrunner --test-path=src []
extras =
test
deps =
.[test]
coverage
setenv =
COVERAGE_FILE=.coverage.{envname}
# Not yet, pending https://github.com/zopefoundation/zope.publisher/issues/49
# setenv =
# ZOPE_INTERFACE_STRICT_IRO=1

[testenv:coverage]
setenv =
COVERAGE_FILE=.coverage
skip_install = true
commands =
coverage erase
coverage combine
coverage html
coverage xml
coverage html -i
coverage xml -i
coverage report --fail-under=100 --show-missing
# parallel mode: make sure all builds complete before we run this one
depends =
py27,py35,py36,py37,pypy,pypy3
py27,py35,py36,py37,py38,pypy,pypy3
parallel_show_output = true

[testenv:docs]
basepython =
python3.6
python3
commands =
sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
deps =
{[testenv]deps}
.[docs]
extras =
docs

0 comments on commit 20c0834

Please sign in to comment.