Skip to content

Commit

Permalink
Merge pull request #352 from infobloxopen/python_version_upgrade
Browse files Browse the repository at this point in the history
Python version 3.9 version compatibility changes
  • Loading branch information
sarya-infoblox authored Nov 17, 2022
2 parents 16c6dab + 270e51d commit e7e34e1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ language: python

matrix:
include:
- python: 2.7
env:
- TOXENV=py27
- python: 3.5
env:
- TOXENV=py35
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e7e34e1

Please sign in to comment.