summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Madden <jamadden@gmail.com>2020-03-30 09:47:20 -0500
committerJason Madden <jamadden@gmail.com>2020-03-30 09:47:20 -0500
commit20c08349658a3f7dbe0796723067bcd9e26cf029 (patch)
tree8ad0aceb4a21d570df7c0687939f853b9e583acd
parentb7892df8a8504f84b44de5e05beabad55ac1dd26 (diff)
downloadzope-traversing-20c08349658a3f7dbe0796723067bcd9e26cf029.tar.gz
Add support for Python 3.8issue14
-rw-r--r--.travis.yml6
-rw-r--r--CHANGES.rst2
-rw-r--r--setup.py3
-rw-r--r--tox.ini27
4 files changed, 22 insertions, 16 deletions
diff --git a/.travis.yml b/.travis.yml
index 296faef..eecae90 100644
--- a/.travis.yml
+++ b/.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
diff --git a/CHANGES.rst b/CHANGES.rst
index 9b3fad6..1c47060 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -7,6 +7,8 @@
- Drop support for Python 3.4.
+- Add support for Python 3.8.
+
4.3.1 (2018-10-16)
==================
diff --git a/setup.py b/setup.py
index fb23f04..4e40833 100644
--- a/setup.py
+++ b/setup.py
@@ -44,7 +44,7 @@ TESTS_REQUIRE = [
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',
@@ -63,6 +63,7 @@ setup(
'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',
diff --git a/tox.ini b/tox.ini
index c22096d..5fef179 100644
--- a/tox.ini
+++ b/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