ansible-test refuses to run, citing Python 2.7 is not supported

10 views
Skip to first unread message

evanmc

unread,
Jun 12, 2019, 7:09:48 PM6/12/19
to Ansible Project
I can't seem to get ansible-test to work with Python 2.7.  Any ideas?

ansible-test sanity -vvv --docker --python 2.7 --test validate-modules

... omitted ...

OME=/root
LC_ALL=en_US.UTF-8
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Sanity check using validate-modules
WARNING: Skipping validate-modules on unsupported Python version 2.7.
No tests applicable.
WARNING: Reviewing previous 1 warning(s):
WARNING: Skipping validate-modules on unsupported Python version 2.7.
Run command: docker exec ed8d171ede4a30af1ade4f777ea9fd983f0a3cae1e968b2643f46f7fb1ccbe04 tar czf /root/results.tgz -C  ...
Working directory: /home/emcginnis/workspace/ansible-testing/ansible
Program found: /usr/bin/docker
HOME=/home/emcginnis


Except it's not just 2.7, although that is what I am using.  If I specify 2.6 above, I get the same thing.

-Evan0


Matt Martz

unread,
Jun 13, 2019, 10:26:36 AM6/13/19
to ansible...@googlegroups.com
validate-modules now only works on Python 3.5+

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/92237fc7-5bba-4482-8e76-efad42a357e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Matt Martz
@sivel
sivel.net
Reply all
Reply to author
Forward
0 new messages