From e8ebe76b8ce90c254fba1fedcb159ab4e1b88f8a Mon Sep 17 00:00:00 2001 From: Michael Howitz Date: Wed, 21 Mar 2018 16:46:37 +0100 Subject: [PATCH] Add support for Python 3.5 and 3.6. --- .travis.yml | 2 ++ CHANGES.rst | 3 +-- setup.py | 6 +++++- tox.ini | 5 ++++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 31fccb0..cc5e2c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,8 @@ language: python sudo: false python: - 2.7 + - 3.5 + - 3.6 install: - pip install coveralls coverage - pip install -U setuptools==33.1.1 diff --git a/CHANGES.rst b/CHANGES.rst index d2b472c..a5b4495 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -6,8 +6,7 @@ Products.CMFUid Changelog - Require `Zope >= 4`. -- Prepare for Python 2 / 3 compatibility. - [pbauer] +- Add support for Python 3.5 and 3.6. - Adapt tests to the new indexing operations queueing. Part of PLIP 1343: https://github.com/plone/Products.CMFPlone/issues/1343 diff --git a/setup.py b/setup.py index 62a36c1..c6c5d99 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,11 @@ def _read(name): "Framework :: Zope :: 4", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", - "Programming Language :: Python", + "Programming Language :: Python :: 2", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Application Frameworks", ], diff --git a/tox.ini b/tox.ini index c9cba06..4d52143 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,8 @@ [tox] envlist = py27, + py35, + py36, coverage-report, [testenv] @@ -10,7 +12,8 @@ commands = {envbindir}/buildout -c {toxinidir}/buildout.cfg buildout:directory={envdir} buildout:develop={toxinidir} coverage run {envbindir}/test --all {posargs:-vc} deps = - zc.buildout + setuptools >= 39 + zc.buildout >= 2.11 coverage setenv = COVERAGE_FILE=.coverage.{envname}