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 5, 2018
1 parent 0639244 commit 749ec62
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ python:
- 2.7
- 3.5
- 3.6
matrix:
include:
- python: "3.7"
dist: xenial
sudo: true
install:
- pip install coverage coveralls
- pip install zc.buildout
Expand Down
6 changes: 4 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Changelog
4.2 (unreleased)
----------------

- Add support for Python 3.7.

- Drop support for Python 3.4.

- Force recompilation of scripts as the compiled code is now stored
on `__code__` instead of `func_code`.

Expand All @@ -14,8 +18,6 @@ Changelog
broken since version 3.0.
https://github.com/zopefoundation/Zope/issues/209

- Drop support for Python 3.4.

- Fix HTTP-500 error which occurred when entering code containing a
syntax error in a PythonScript. It is now rendered as error message like
other errors.
Expand Down
7 changes: 5 additions & 2 deletions buildout.cfg
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
[buildout]
extends = https://zopefoundation.github.io/Zope/releases/master/versions.cfg
https://raw.githubusercontent.com/zopefoundation/Zope/master/sources.cfg
show-picked-versions = true
develop = .
parts =
interpreter
test
tox
extensions = mr.developer
auto-checkout = Zope RestrictedPython
auto-checkout =
Zope
RestrictedPython
DocumentTemplate

[sources]
Zope = git git://github.com/zopefoundation/Zope
RestrictedPython = git git://github.com/zopefoundation/RestrictedPython

[interpreter]
recipe = zc.recipe.egg
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: CPython",
],
install_requires=[
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ envlist =
py27,
py35,
py36,
py37,
coverage,

skip_missing_interpreters = False
Expand Down

0 comments on commit 749ec62

Please sign in to comment.