From 8707e5792f036b46ecf7eaefe8124a581d2a774c Mon Sep 17 00:00:00 2001 From: Jeremy Kolbe Date: Wed, 3 Oct 2018 11:25:32 +0200 Subject: [PATCH] Added support for Python 3.7 --- .travis.yml | 16 ++++++++++------ CHANGES.rst | 2 ++ appveyor.yml | 2 ++ setup.py | 1 + tox.ini | 8 +++++++- 5 files changed, 22 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 13a1b5c..f37e9fe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,20 +6,24 @@ python: - 3.5 - 3.6 - pypy - - pypy3.3-5.2-alpha1 - + - pypy3 +include: + matrix: + - python: "3.7" + dist: xenial + sudo: true install: + - pip install coveralls coverage - pip install six==1.10.0 # force to avoid conflict with zc.recipe.testrunner - - pip install -U setuptools==33.1.1 - pip install zc.buildout - buildout bootstrap - buildout - script: - - bin/test -v1 + - coverage run bin/test -v1 +after_success: + - coveralls notifications: email: false - cache: pip: true directories: diff --git a/CHANGES.rst b/CHANGES.rst index b295d54..0f8ffaa 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -6,6 +6,8 @@ Changelog - Avoid deprecation warnings by using current API. +- Added support for Python 3.7. + 4.4.4 (2017-11-24) ------------------ diff --git a/appveyor.yml b/appveyor.yml index 4b8b2ae..4ba1338 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -13,6 +13,8 @@ environment: - python: 35-x64 - python: 36 - python: 36-x64 + - python: 37 + - python: 37-x64 install: - "SET PATH=C:\\Python%PYTHON%;c:\\Python%PYTHON%\\scripts;%PATH%" diff --git a/setup.py b/setup.py index 3d3a8be..d133384 100644 --- a/setup.py +++ b/setup.py @@ -63,6 +63,7 @@ "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", ], diff --git a/tox.ini b/tox.ini index 60ba89a..deefcee 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py27,py27-pure,py34,py34-pure,py35,py35-pure,py36,py36-pure,pypy,pypy3,coverage + py27,py27-pure,py34,py34-pure,py35,py35-pure,py36,py36-pure,py37,py37-pure,pypy,pypy3,coverage [testenv] install_command = pip install --no-cache-dir --no-binary=:all: {opts} {packages} @@ -35,6 +35,12 @@ basepython = setenv = PURE_PYTHON = 1 +[testenv:py37-pure] +basepython = + python3.7 +setenv = + PURE_PYTHON = 1 + [testenv:coverage] basepython = python2.7