Skip to content

Commit

Permalink
Add support for Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Oct 9, 2018
1 parent 501a293 commit 8aefaf2
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
16 changes: 13 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,24 @@ python:
- 3.6
- pypy
- pypy3
matrix:
include:
- python: "3.7"
dist: xenial
sudo: true
install:
- pip install zope.testrunner coverage coveralls
- pip install zc.buildout
- pip install -U -e .[test]
- buildout
script:
- bin/test
- coverage run -m zope.testrunner --test-path=src -v
- cd docs; make SPHINXBUILD=../bin/sphinx-build doctest
notifications:
email: false
after_success:
- coveralls
cache:
directories:
- eggs
- pip
- directories:
- eggs
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Changes
2.2.2 (unreleased)
------------------

- Nothing changed yet.
- Add support for Python 3.7.


2.2.1 (2018-03-27)
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
version = '2.2.2.dev0'
here = os.path.abspath(os.path.dirname(__file__))


def _read_file(filename):
with open(os.path.join(here, filename)) as f:
return f.read()
Expand Down Expand Up @@ -45,6 +46,7 @@ def _read_file(filename):
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Framework :: ZODB",
Expand All @@ -69,4 +71,4 @@ def _read_file(filename):
},
entry_points="""\
"""
)
)
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
[tox]
# Jython 2.7rc2+ does work, but unfortunately has an issue running
# with Tox 1.9.2 (see https://github.com/pypa/virtualenv/pull/746)
envlist =
py27,pypy,py34,py35,py36,pypy3,coverage,docs
py27,pypy,py34,py35,py36,py37,pypy3,coverage,docs

[testenv]
commands =
Expand Down

0 comments on commit 8aefaf2

Please sign in to comment.