diff --git a/.travis.yml b/.travis.yml index 324b044..4379243 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,21 +4,21 @@ language: python matrix: include: + - python: 3.8 + env: TOX_ENV=py38 + - python: 3.7 + env: TOX_ENV=py37 - python: 3.6 env: TOX_ENV=py36 - python: 3.5 env: TOX_ENV=py35 - - python: 3.4 - env: TOX_ENV=py34 - - python: 2.7 - env: TOX_ENV=py27 - python: pypy env: TOX_ENV=pypy - - python: 3.6 + - python: 3.8 env: TOX_ENV=flake8 # Use tox to run tests on Travis-CI to keep one unified method of running tests in any environment -install: +install: - pip install coverage coveralls tox # Command to run tests, e.g. python setup.py test diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index e6ae58a..092e73a 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -99,7 +99,7 @@ Before you submit a pull request, check that it meets these guidelines: 2. If the pull request adds functionality, the docs should be updated. Put your new functionality into a function with a docstring, and add the feature to the list in README.rst. -3. The pull request should work for Python 2.7, 3.4, 3.5, 3.6, and PyPy. Check +3. The pull request should work for Python 3.5, 3.6, 3.7, 3.8 and PyPy. Check https://travis-ci.org/bndr/pipreqs/pull_requests and make sure that the tests pass for all supported Python versions. diff --git a/setup.py b/setup.py index 1afa42f..171f2c5 100755 --- a/setup.py +++ b/setup.py @@ -44,12 +44,11 @@ setup( 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Natural Language :: English', - '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 :: 3.8', ], test_suite='tests', entry_points={ diff --git a/tox.ini b/tox.ini index 28a1dfa..a9bd69e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27, py34, py35, py36, pypy, flake8 +envlist = py35, py36, py37, py38, pypy, flake8 [testenv] setenv = @@ -9,7 +9,7 @@ deps = -r{toxinidir}/requirements.txt [testenv:flake8] -basepython = python3.6 +basepython = python3.8 commands = flake8 pipreqs deps = -r{toxinidir}/requirements.txt