I'm new to ansible and naively installed ansible in a python 3 virtualenv.

While running one of the first commands in the "Getting Started" 
documentation:

ansible all -m ping -vvv

I ran into an error with ansible 2.0.0.2's use of "basestring", just like 
this stackoverflow user:

http://stackoverflow.com/q/34803467/399726

And (as the answer points out) ansible's docs indeed say that ansible is 
not compatible with Python 3 
<http://docs.ansible.com/ansible/intro_installation.html#managed-node-requirements>
 on 
control machines:

Python 3 is a slightly different language than Python 2 and most Python 
> programs (including Ansible) are not switching over yet.

 
Yet I also noticed ansible's devel branch is being tested against Python 
3.4 and Python 3.5 <https://travis-ci.org/ansible/ansible>, with the 
exception of tests that are skipped because

Python 3 is not supported on targets (yet)


I tried installing the latest devel branch (2.1.0 instead of PyPI's 2.0.0.2 
) into my python 3 virtualenv but ran into the same error.

Are there ways to install a particular branch of ansible or configure it to 
work with Python 3?
Is there a branch under development that is working towards broader Python 
3 compatibility?

Thanks in advance for any possible clarification. :)

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/513f4575-f775-475c-9bb9-4d9f75d2d40a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to