From 270e51d70c45da44a9509fa6a2a77f15609ec689 Mon Sep 17 00:00:00 2001 From: sarya-infoblox Date: Mon, 31 Oct 2022 00:28:52 -0700 Subject: [PATCH] Python version 3.9 version compatibility changes --- .github/workflows/test.yml | 4 +--- .travis.yml | 9 ++++++--- CONTRIBUTING.rst | 2 +- setup.py | 3 +-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 55e7994d..69e2f6a5 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 809b208c..b1e25b39 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 4ec4e164..889f7657 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 b3368103..54c3ee91 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