Red Hat Bugzilla – Bug 1370016
Port fabric to Python 3
Last modified: 2018-05-12 15:04:42 EDT
Created attachment 1193863 [details]
Port Fabric to Python 3
The maintainer of Fabric is not accepting patches which break compatibility with Python 2.5. Mathias Ertl managed to port Fabric to Python 3, but these patches were not accepted:
Mathias then created a fork of Fabric which supports Python 2.7 and 3.4+:
This port is actively maintained and follows the upstream fabric release schedule.
It has also been uploaded to pypi:
As part of the Fedora effort to move to Python 3, I would like to request
that the default Fabric package in Fedora be moved the Mathias Ertl's fork.
Looks good, however I see a potential issue in case we want to provide both Py2 and Py3 sub packages;
The .egg-info is not the same as the original Fabric which could raise dependency issues on some Py2 applications expecting the original Fabric library.
Perhaps it would be better to add Mathias' fork as a separate new package?
That was my thinking, I'll submit review request.
I strongly disagree with having a separate package for this,
and hope you don't go down this path.
Please talk to Mathias and ask him what he did to port Fabric to Python 3.
The items which he changed are very arcane things which the vast majority
of users do not use.
In my own projects, I switched from Fabric to Fabric3, and noticed no
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.
Can we perhaps:
1. package fabric3
2. retire fabric
3. make adjustments to fabric3 to provide and obsolete fabric, add a /usr/bin/fabric symblink?
Athmane, let me know if you are still interested.
Seems like a good plan, I resubmitted fabric3 for review in #1572928
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora 'version'
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
fabric 2.0 was released, it's compatible with Py3.
I guess I'll retire fabric3 since it conflicts with fabric (both use namespace /fabric)
On second thought, we'll keep them both since:
- fabric2 can be installed in diff namespace
- fabric3 will provide v1 old API for application that are not compatible yet with fabric2