ployground / bsdploy

BSDploy is a tool to provision, configure and maintain FreeBSD jails.
BSD 3-Clause "New" or "Revised" License
163 stars 30 forks source link

Python 3 & Fabric #96

Open tehfink opened 8 years ago

tehfink commented 8 years ago

Apologies if this has been addressed before (I couldn't find anything in the docs about Python 3):

What's the ETA for Python 3 support? Is the Fabric the only requirement holding things back? Also, since Fabric in Python 3 has been "just around the corner" for a few years, is it possible to use another backend?

Thanks for a great project!

tomster commented 8 years ago

hi there!

well, the actual roadblock is ansible - they state that they have no ETA for python 3 support.

we do have experimental support for salt which could make bsdploy python 3 ready sooner, perhaps but at the moment there is no real momentum to make bsdploy python 3 ready.

most of my day-to-day projects are based on python 3 by now but i still deploy them with python 2 - in practice i find there is no real downside to running bsdploy in python 2 - it's just an implementation detail.

do you have a specific need that would require python 3?

tehfink commented 8 years ago

Sorry for the delay (I've been traveling). Thanks for the informative reply! No, I don't have a specific need: just that since all my projects are (thankfully) nowadays in Python 3, it would be nice if the deployment aspect didn't need a separate environment.

tehfink commented 7 years ago

Hi guys,

Now that Ansible supports Python 3, and Fabric does as well, what's the outlook for Python 3 support?

tomster commented 7 years ago

@tehfink now i need to apologize for the delay :-) thanks for the pointers, i wasn't aware of that, this is good news!

however, we (@fschulze and myself) will probably go down the road to first create a new package named ploy_ansible2 (which then could be python3 compatible from the start)

mkieweg commented 4 years ago

Ping on that one since Python 2 is officially deprecated since this January: How's the roadmap to bring BSDploy to Python 3?

fschulze commented 4 years ago

I'm still in the process of testing the beta releases in a Python 3 environment. I switched a bigger project to Python 3 a few weeks ago and made some fixes recently. The beta releases are available on PyPI:

bsdploy 3.0.0b3
ploy 2.0.0b4
ploy-ansible 2.0.0b6
ploy-ezjail 2.0.0b3
ploy-fabric 2.0.0b2

Would be great if they got some more testing from someone else.

mkieweg commented 4 years ago

Great news! Ill' look into that right away.