From 3af2d18b7e564b0d62dc0255a027fdc90c428f05 Mon Sep 17 00:00:00 2001 From: Andrew Rabert Date: Thu, 13 Dec 2018 17:24:08 -0500 Subject: [PATCH] Drop support for Python < 3.7 --- .travis.yml | 11 +++-------- setup.py | 8 +------- tox.ini | 2 +- 3 files changed, 5 insertions(+), 16 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7a01dbe..cc3e6c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,7 @@ language: python +dist: xenial python: -- 2.7 -- 3.4 -- 3.5 -- 3.6 -- 3.7-dev -- pypy -- pypy3 +- 3.7 before_install: - pip install nose coverage codecov - pip install -r requires/testing.txt @@ -25,4 +20,4 @@ deploy: tags: true distributions: sdist bdist_wheel all_branches: true - python: 3.6 + python: 3.7 diff --git a/setup.py b/setup.py index 3a60e97..f4bf020 100755 --- a/setup.py +++ b/setup.py @@ -45,18 +45,12 @@ setuptools.setup( 'License :: OSI Approved :: BSD License', 'Natural Language :: English', 'Operating System :: OS Independent', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', - 'Programming Language :: Python :: 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', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules'], test_suite='nose.collector', + python_requires='>=3.7', zip_safe=True, ) diff --git a/tox.ini b/tox.ini index f90ef7c..50d52a0 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27,py34,py35,py36,py37,pypy2,pypy3 +envlist = py37 indexserver = default = https://pypi.python.org/simple toxworkdir = build/tox