Enable Python 3.7 in ansible-test.

This commit is contained in:
Matt Clay 2017-11-20 17:01:09 -08:00
parent 782aca9a72
commit f9cd50411f
5 changed files with 21 additions and 1 deletions

View file

@ -0,0 +1,13 @@
lib/ansible/cli/adhoc.py
lib/ansible/executor/task_executor.py
lib/ansible/modules/packaging/os/yum_repository.py
lib/ansible/plugins/action/__init__.py
lib/ansible/plugins/action/net_base.py
lib/ansible/plugins/action/normal.py
lib/ansible/plugins/action/package.py
lib/ansible/plugins/action/service.py
test/units/executor/test_task_executor.py
test/units/modules/network/nuage/test_nuage_vspk.py
test/units/plugins/action/test_action.py
test/units/plugins/action/test_raw.py
test/units/plugins/action/test_synchronize.py

View file

@ -1,6 +1,6 @@
centos6@sha256:41eb4b870ce400202945ccf572d45bf5f2f5ebb50e9dee244de73b9d0278db30
centos7@sha256:bd571611112cccefdaa951ea640177cbb77c8ee011f958d2562781d90594ea9c
default@sha256:424161033bf1342bc463c27c5fad182c171aa3bc17b3c1fe7aac44623cc8d304
default@sha256:be3e82e89459b7e4dabb2ca9bd6270c8672ad76582f85bc9184957781198d219
fedora24@sha256:7b642c5d25b779a3a605fb8f70d9d92972f2004a5266fe364264809899fb1117
fedora25@sha256:828c71d87f1636f4d09916b8e2d87fc9a615d361a9afed22e8843ffb3d2729d2
opensuse42.2@sha256:3c59cd694fe69860d299a10afaa84f4e0b3db0c4139232431e9801e1a0775b0a

View file

@ -103,6 +103,7 @@ SUPPORTED_PYTHON_VERSIONS = (
'2.7',
'3.5',
'3.6',
'3.7',
)
COMPILE_PYTHON_VERSIONS = SUPPORTED_PYTHON_VERSIONS

View file

@ -42,6 +42,10 @@ class AnsibleDocTest(SanityMultipleVersion):
if not modules:
return SanitySkipped(self.name, python_version=python_version)
# ansible-doc fails due to async syntax errors on Python 3.7 currently
if python_version == '3.7':
return SanitySkipped(self.name, python_version=python_version)
env = ansible_environment(args, color=False)
cmd = ['ansible-doc'] + modules

View file

@ -34,3 +34,5 @@ lib/ansible/modules/network/lenovo/cnos_vlag.py
lib/ansible/modules/network/lenovo/cnos_vlan.py
lib/ansible/modules/network/nxos/nxos_file_copy.py
lib/ansible/modules/packaging/language/maven_artifact.py
lib/ansible/modules/packaging/os/yum_repository.py
lib/ansible/modules/system/hostname.py