Hacker News new | past | comments | ask | show | jobs | submit login

Fabric is still not supporting py3, it's important tool for a lot of admins.



There's a maintained Fabric fork [0] for Python 3, it is basically a drop-in and available via pip.

[0] https://github.com/mathiasertl/fabric/


In addition, fabric 2 is making progress.


To be clear, you can still install Python 2 the usual way. The only thing that's changing is that it's not installed by default (and by extension, that none of the base system depends on it).


Yeah, that's one of the only things I still use Python2 for.

But it seems that they have a v2 in the works that's supposed to support Python3: https://github.com/fabric/fabric/tree/v2

And there's also a fork: https://pypi.python.org/pypi/Fabric3


Plenty of things don't have python 3 support, but you can still use python2 without it being /usr/bin/python.


There is no /usr/bin/python in the default Ubuntu install. There's a /usr/bin/python3, and if you `apt install python` you can get /usr/bin/python. But all of the system's code that uses Python has been converted to Python 3.


I doubt very much Ubuntu has made python3 /usr/bin/python, since the official recommendation of the Python project is to not do that.

Still true of course that it doesn't have to be installed by default even if some applications still need it.


> I doubt very much Ubuntu has made python3 /usr/bin/python, since the official recommendation of the Python project is to not do that.

Tell that to Arch. :(


I know. If I remember right, Arch did it before the Python project published any official guidance/Arch triggered one being released.


Fabric is reacting to what the most conservative group or Linux users (sysadmins for RHEL) are asking for. That's why RHEL moving to Python 3 would be the last push needed.


> Fabric is reacting to what the most conservative group or Linux users (sysadmins for RHEL) are asking for.

I'm not familiar with the details, but does this mean that they're resisting patches to support 3.x? Given the existence of a fork it seems likely. It's not-at-all difficult to write a single Python package that works on both 2.7 and 3.x. Especially if you are willing to use `six`.

I'll admit that it's a little harder to stay compatible with earlier-than-2.7, though.


Ah, now I remember.

I think the actual argument against Py3-compatibility is exactly that: Fabric needs to support 2.6 because it is the default in RHEL/SLES versions which are still quite popular in enterprise environments and maintaining compatibility with both Py 2.6 and Py 3 is quite difficult, as you said.


So we'll get it in 2024?


There is overlap between RHEL release support periods, from what I see it's about 3-4 years on average. So 2021? :)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: