diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 55e7994..69e2f6a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,10 +37,8 @@ jobs: fail-fast: false matrix: # A list of Python versions to run the tests on - python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9'] + python-version: ['3.5', '3.6', '3.7', '3.8', '3.9'] include: - - python-version: '2.7' - TOXENV: 'py27' - python-version: '3.5' TOXENV: 'py35' - python-version: '3.6' diff --git a/.travis.yml b/.travis.yml index 809b208..b1e25b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,9 +4,6 @@ language: python matrix: include: - - python: 2.7 - env: - - TOXENV=py27 - python: 3.5 env: - TOXENV=py35 @@ -22,6 +19,12 @@ matrix: - python: 3.6 env: - TOXENV=pep8 + - python: 3.9 + env: + - TOXENV=py39 + - python: 3.9 + env: + - TOXENV=coverage install: pip install -U tox script: tox diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 4ec4e16..889f765 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 and 3.4. Check +3. The pull request should work for Python 3.4 and above. Check https://travis-ci.org/infobloxopen/infoblox-client/pull_requests and make sure that the tests pass for all supported Python versions. diff --git a/setup.py b/setup.py index b336810..54c3ee9 100755 --- a/setup.py +++ b/setup.py @@ -45,13 +45,12 @@ '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.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', ], test_suite='tests', tests_require=testing_requirements