Fabric: Python 3 support

Created on 28 Jan 2016  ·  4Comments  ·  Source: fabric/fabric

Are there plans to get fabric working on python3? Paramiko already supports python3, so you're the last step on the chain.

Most helpful comment

For a drop-in replacement use pip install fabric3 that comes from this fork.

Despite being a relatively straightforward port, Fabric management refuses to make 1.x compatible with Python 3 while simultaneously keeping Fabric 2.x (which claims Python 3.x compatibility) private. Perhaps there is an absolute requirement to maintain compatibility with Python 2.5 (last patched in 2011), because except Error, e doesn't work in 3.x and except Error as e doesn't work before 2.6.

All 4 comments

Yes, there are plans, there's a fabric 2 that aims to do this (amongst other things). See http://www.fabfile.org/roadmap.html. Paramiko, fabric and invoke are all maintained by the same person, so everything can't happen all at once, unfortunately.

For a drop-in replacement use pip install fabric3 that comes from this fork.

Despite being a relatively straightforward port, Fabric management refuses to make 1.x compatible with Python 3 while simultaneously keeping Fabric 2.x (which claims Python 3.x compatibility) private. Perhaps there is an absolute requirement to maintain compatibility with Python 2.5 (last patched in 2011), because except Error, e doesn't work in 3.x and except Error as e doesn't work before 2.6.

Thanks both of you! I will start using the fork. Feel free to close this issue.

Is this being worked out to give python3 support?

Was this page helpful?
0 / 5 - 0 ratings