Skip to content

Commit

Permalink
Merge pull request #6 from zopefoundation/add37drop33
Browse files Browse the repository at this point in the history
Add support for Python 3.7; drop 3.3
  • Loading branch information
jamadden committed Aug 24, 2018
2 parents b006a39 + f46c878 commit f32ca66
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 24 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
8 changes: 4 additions & 4 deletions README.rst
@@ -1,9 +1,9 @@
================================
``zope.authentication`` README
================================
=====================
zope.authentication
=====================

.. image:: https://img.shields.io/pypi/v/zope.authentication.svg
:target: https://pypi.python.org/pypi/zope.authentication/
:target: https://pypi.org/project/zope.authentication/
:alt: Latest release

.. image:: https://img.shields.io/pypi/pyversions/zope.authentication.svg
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 f32ca66

Please sign in to comment.