diff --git a/.travis.yml b/.travis.yml index 91506bfb..02ddd05e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,8 +19,14 @@ matrix: env: TOXENV=py35 - python: "3.6" env: TOXENV=py36 - - python: "3.6" - env: TOXENV=py36-nooptionals + - python: "3.7" + env: TOXENV=py37 + dist: xenial + sudo: true + - python: "3.7" + env: TOXENV=py37-nooptionals + dist: xenial + sudo: true - python: "pypy" env: TOXENV=pypy - python: "pypy3" diff --git a/setup.py b/setup.py index 73b5048d..575057fe 100644 --- a/setup.py +++ b/setup.py @@ -35,6 +35,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", "Topic :: System :: Monitoring", diff --git a/tests/test_gc_collector.py b/tests/test_gc_collector.py index fd10f277..c0cda88f 100644 --- a/tests/test_gc_collector.py +++ b/tests/test_gc_collector.py @@ -1,8 +1,8 @@ from __future__ import unicode_literals import gc -import sys import platform +import sys if sys.version_info < (2, 7): # We need the skip decorators from unittest2 on Python 2.6. diff --git a/tox.ini b/tox.ini index 8f7f81b3..45259ef6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = coverage-clean,py26,py27,py34,py35,py36,pypy,pypy3,{py27,py36}-nooptionals,coverage-report,flake8 +envlist = coverage-clean,py26,py27,py34,py35,py36,py37,pypy,pypy3,{py27,py37}-nooptionals,coverage-report,flake8 [base] @@ -32,7 +32,6 @@ deps = {py27,py34,py35,py36,pypy,pypy3}: twisted commands = coverage run --parallel -m pytest {posargs} - ; Ensure test suite passes if no optional dependencies are present. [testenv:py27-nooptionals] deps = @@ -40,11 +39,9 @@ deps = futures commands = coverage run --parallel -m pytest {posargs} -[testenv:py36-nooptionals] -deps = {[base]deps} +[testenv:py37-nooptionals] commands = coverage run --parallel -m pytest {posargs} - [testenv:coverage-clean] deps = coverage skip_install = true