Add Python 3.9 to ansible-test.
ci_complete ci_coverage
This commit is contained in:
parent
e0875f2aef
commit
ebb255f0d3
5 changed files with 16 additions and 2 deletions
3
changelogs/fragments/ansible-test-python-3.9.yaml
Normal file
3
changelogs/fragments/ansible-test-python-3.9.yaml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
minor_changes:
|
||||||
|
- ansible-test - Add support for Python 3.9.
|
||||||
|
- ansible-test - Update ``default-test-container`` to version 1.11, which includes Python 3.9.0a4.
|
|
@ -20,6 +20,7 @@ matrix:
|
||||||
- env: T=units/3.6/1
|
- env: T=units/3.6/1
|
||||||
- env: T=units/3.7/1
|
- env: T=units/3.7/1
|
||||||
- env: T=units/3.8/1
|
- env: T=units/3.8/1
|
||||||
|
- env: T=units/3.9/1
|
||||||
|
|
||||||
- env: T=units/2.6/2
|
- env: T=units/2.6/2
|
||||||
- env: T=units/2.7/2
|
- env: T=units/2.7/2
|
||||||
|
@ -27,6 +28,7 @@ matrix:
|
||||||
- env: T=units/3.6/2
|
- env: T=units/3.6/2
|
||||||
- env: T=units/3.7/2
|
- env: T=units/3.7/2
|
||||||
- env: T=units/3.8/2
|
- env: T=units/3.8/2
|
||||||
|
- env: T=units/3.9/2
|
||||||
|
|
||||||
- env: T=windows/2012/1
|
- env: T=windows/2012/1
|
||||||
- env: T=windows/2012-R2/1
|
- env: T=windows/2012-R2/1
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
default name=quay.io/ansible/default-test-container:1.10.1 python=3.6,2.6,2.7,3.5,3.7,3.8 seccomp=unconfined
|
default name=quay.io/ansible/default-test-container:1.11 python=3.6,2.6,2.7,3.5,3.7,3.8,3.9 seccomp=unconfined
|
||||||
centos6 name=quay.io/ansible/centos6-test-container:1.8.0 python=2.6 seccomp=unconfined
|
centos6 name=quay.io/ansible/centos6-test-container:1.8.0 python=2.6 seccomp=unconfined
|
||||||
centos7 name=quay.io/ansible/centos7-test-container:1.8.0 python=2.7 seccomp=unconfined
|
centos7 name=quay.io/ansible/centos7-test-container:1.8.0 python=2.7 seccomp=unconfined
|
||||||
centos8 name=quay.io/ansible/centos8-test-container:1.10.0 python=3.6 seccomp=unconfined
|
centos8 name=quay.io/ansible/centos8-test-container:1.10.0 python=3.6 seccomp=unconfined
|
||||||
|
|
|
@ -3,7 +3,15 @@
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
import parser
|
import warnings
|
||||||
|
|
||||||
|
with warnings.catch_warnings():
|
||||||
|
# The parser module is deprecated as of Python 3.9.
|
||||||
|
# This implementation will need to be updated to use another solution.
|
||||||
|
# Until then, disable the deprecation warnings to prevent test failures.
|
||||||
|
warnings.simplefilter('ignore', DeprecationWarning)
|
||||||
|
import parser
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -118,6 +118,7 @@ SUPPORTED_PYTHON_VERSIONS = (
|
||||||
'3.6',
|
'3.6',
|
||||||
'3.7',
|
'3.7',
|
||||||
'3.8',
|
'3.8',
|
||||||
|
'3.9',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue