4 ms·
There are some major products like Ansible, that are still only compatible with Python 2.7.
by compuguy 10y ago
There are some major products like Ansible, that are still only compatible with Python 2.7.
- djsumdog 10y agoYea, that really annoyed be about Ansible. You have to bootstrap systems like Ubuntu Xenial which only ship Python3 using the raw tasks. As seen with Django, they were able to support both. I've been able to support both with the code base to some of my projects as well. Currently I have one project I'd like to be Python3, but it will involve forking two dependencies (owfs and phidgets) and having them support Py3 (phidgets actually builds and entire python3 tree and installs it and yet you can't import anything from it because it's all python2 syntax -_-) Python 3 has been out for quite some time. I don't see why everyone is still holding out.
- johnny22 10y agohttps://docs.ansible.com/ansible/python_3_support.html https://docs.ansible.com/ansible/python_3_support.html > Ansible 2.2 features a tech preview of Python 3 support. So they are working on it.