Skip to content

Commit

Permalink
Add support for Python 3.7; drop 3.3
Browse files Browse the repository at this point in the history
Builds have been failing on 3.3 recently.

Also drop python setup.py test
  • Loading branch information
jamadden committed Aug 24, 2018
1 parent b006a39 commit a21bf05
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 20 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Expand Up @@ -2,11 +2,17 @@ language: python
sudo: false
python:
- 2.7
- 3.3
- 3.4
- 3.5
- 3.6
- pypy-5.4.1
- pypy
- pypy3
matrix:
include:
- os: linux
dist: xenial
sudo: true
python: 3.7
install:
- pip install -U pip setuptools zope.testrunner
- pip install -U coveralls coverage
Expand Down
6 changes: 6 additions & 0 deletions CHANGES.rst
Expand Up @@ -7,6 +7,12 @@

- Host documentation at https://zopeauthentication.readthedocs.io

- Add support for Python 3.7.

- Drop support for Python 3.3.

- Drop support for ``python setup.py test``.


4.3.0 (2017-05-11)
==================
Expand Down
18 changes: 1 addition & 17 deletions setup.py
Expand Up @@ -22,21 +22,6 @@ def read(*rnames):
return f.read()


def alltests():
import os
import sys
import unittest
# use the zope.testrunner machinery to find all the
# test suites we've put under ourselves
import zope.testrunner.find
import zope.testrunner.options
here = os.path.abspath(os.path.join(os.path.dirname(__file__), 'src'))
args = sys.argv[:]
defaults = ["--test-path", here]
options = zope.testrunner.options.get_options(args, defaults)
suites = list(zope.testrunner.find.find_suites(options))
return unittest.TestSuite(suites)

TESTS_REQUIRE = [
'zope.testing',
'zope.testrunner',
Expand All @@ -62,10 +47,10 @@ def alltests():
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'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',
Expand Down Expand Up @@ -95,7 +80,6 @@ def alltests():
'zope.security',
],
tests_require=TESTS_REQUIRE,
test_suite='__main__.alltests',
include_package_data=True,
zip_safe=False,
)
2 changes: 1 addition & 1 deletion tox.ini
@@ -1,10 +1,10 @@
[tox]
envlist =
py27,
py33,
py34,
py35,
py36,
py37,
pypy,
pypy3,
docs,
Expand Down

0 comments on commit a21bf05

Please sign in to comment.