News for hackers. Stuff that matters.
Re:Python Versions Used in Commercial Projects, 2016 Edition by danielsamuels on Friday November 11, 2016 @08:51AM (#12930569)
Where I work we're just waiting on Ansible. Everything else we write and use works with Python 3, except the tool we use to deploy it all. Frustrating.
Re:Python Versions Used in Commercial Projects, 2016 Edition by randlet on Friday November 11, 2016 @09:00AM (#12930637)
Why not use both? I'm shipping python 3 software using Ansible and it works great.
Re:Python Versions Used in Commercial Projects, 2016 Edition by danielsamuels on Friday November 11, 2016 @09:07AM (#12930690)
Using version 2.2?
Re:Python Versions Used in Commercial Projects, 2016 Edition by AdamN on Friday November 11, 2016 @09:40AM (#12930965)
Ansible is just a program - I'm not sure where the confusion lies. You can use Chef (Ruby) to deploy Python apps after all ... the version of Python used by Ansible is totally irrelevant to the interpreter you use for your codebase.
Re:Python Versions Used in Commercial Projects, 2016 Edition by danielsamuels on Friday November 11, 2016 @09:46AM (#12931032)
As far as I remember, if your local virtual environment is Python 3 Ansible doesn't work (might not even install).
Re:Python Versions Used in Commercial Projects, 2016 Edition by neokya on Friday November 11, 2016 @03:27PM (#12934017)
well, you can install ansible outside local virtualenv. It's a single program like Firefox, so probably you won't need different versions and could be installed as such.
Re:Python Versions Used in Commercial Projects, 2016 Edition by randlet on Monday November 14, 2016 @08:43PM (#12954943)
Just like neokya said, you just create a Python 2 virtualenv for deployment and a Python 3 one for development.