Search code examples
python-3.xfabric

Python 3 support for fabric


Does fabric (http://docs.fabfile.org/en/1.7/) support Python 3 yet. As per Python 3 Wall of Superpowers it does not yet. If not what is the best alternative if using Django 1.5 with Python 3.


Solution

  • Current Answer which has already been done by @miso.belica

    pip install -U "fabric>2.0.0"
    

    OLD Answer (as of 2013)

    From the docs:

    Please note that all documentation is currently written with Python 2.5 users in mind, but with an eye for eventual Python 3.x compatibility

    Or to be more specific:

    eventual Python 3.x compatibility

    It looks like Python3 support for fabric is a little sticky and depends upon another open source library, paramiko being compatible with python3. As of now, the master version supports python 3.

    It might be worth messing around with and then building your fabric instance on top of that instead of getting it from pip.