Skip to content

Commit

Permalink
Add support for Python 3.7
Browse files Browse the repository at this point in the history
Fixes #11
  • Loading branch information
jamadden committed Oct 19, 2018
1 parent acb3a1c commit 5384cd2
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 24 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Expand Up @@ -5,8 +5,13 @@ python:
- 3.4
- 3.5
- 3.6
- pypy-5.6.0
- pypy3.3-5.5-alpha
- pypy
- pypy3
matrix:
include:
- python: "3.7"
dist: xenial
sudo: true
install:
- pip install -U pip setuptools
- pip install -U coveralls coverage
Expand Down
39 changes: 20 additions & 19 deletions CHANGES.rst
@@ -1,14 +1,15 @@
Changes
=======
=========
Changes
=========

4.4.1 (unreleased)
------------------
4.5.0 (unreleased)
==================

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


4.4.0 (2017-07-22)
------------------
==================

- Drop support for Python 3.3.

Expand All @@ -32,7 +33,7 @@ Changes
``BaseException`` exceptions during the ``raising`` method.

4.3.0 (2016-07-07)
------------------
==================

- Add support for Python 3.5.

Expand All @@ -42,27 +43,27 @@ Changes
``ErrorReportingUtility``

4.2.0 (2014-12-27)
------------------
==================

- Add support for PyPy and PyPy3.

- Add support for Python 3.4.


4.1.1 (2014-12-22)
------------------
==================

- Enable testing on Travis.


4.1.0 (2013-02-21)
------------------
==================

- Add compatibility with Python 3.3


4.0.0 (2012-12-10)
------------------
==================

- Replace deprecated ``zope.interface.implements`` usage with equivalent
``zope.interface.implementer`` decorator.
Expand All @@ -75,7 +76,7 @@ Changes


3.7.4 (2012-02-01)
------------------
==================

- Add explicit tests for escaping introduced in 3.7.3.

Expand All @@ -85,26 +86,26 @@ Changes
- Fix tests on Python 2.4 and 2.5.

3.7.3 (2012-01-17)
------------------
==================

- Escape untrusted input before constructing HTML for error reporting.

3.7.2 (2010-10-30)
------------------
==================

- Set ``copy_to_zlog`` by default to 1/True.
Having it turned off is a small problem, because fatal (startup) errors
will not get logged anywhere.


3.7.1 (2010-09-25)
------------------
==================

- Add test extra to declare test dependency on ``zope.testing``.


3.7.0 (2009-09-29)
------------------
==================

- Clean up dependencies. Droped all testing dependencies as we only need
zope.testing now.
Expand All @@ -128,20 +129,20 @@ Changes
longer using the Contained mix-in class.

3.6.0 (2009-01-31)
------------------
==================

- Use zope.container instead of zope.app.container

- Move error log bootstrapping logic (which was untested) to
``zope.app.appsetup``, to which we added a test.

3.5.1 (2007-09-27)
------------------
==================

- Rebump to replace faulty egg

3.5.0
-----
=====

- Initial documented release

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -51,14 +51,15 @@ def read(*rnames):
'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',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP',
'Framework :: Zope :: 3',
],
url='http://github.com/zopefoundation/zope.error',
url='https://github.com/zopefoundation/zope.error',
packages=find_packages('src'),
package_dir={'': 'src'},
namespace_packages=['zope',],
Expand Down
5 changes: 3 additions & 2 deletions tox.ini
@@ -1,5 +1,5 @@
[tox]
envlist = py27,py34,py35,py36,pypy,pypy3
envlist = py27,py34,py35,py36,py37,pypy,pypy3

[testenv]
usedevelop = true
Expand All @@ -9,9 +9,10 @@ deps =
.[test]

[testenv:coverage]
basepython = python3.6
commands =
coverage run -m zope.testrunner --test-path=src []
coverage report -m
coverage report -m --fail-under=100
deps =
{[testenv]deps}
coverage

0 comments on commit 5384cd2

Please sign in to comment.