Bug 1370016 - Port fabric to Python 3
Port fabric to Python 3
Status: ASSIGNED
Product: Fedora
Classification: Fedora
Component: fabric (Show other bugs)
26
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Athmane Madjoudj
Fedora Extras Quality Assurance
:
Depends On: 1401242
Blocks: PYTHON3
  Show dependency treegraph
 
Reported: 2016-08-25 00:43 EDT by Craig Rodrigues
Modified: 2017-02-28 05:09 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Port Fabric to Python 3 (2.39 KB, text/plain)
2016-08-25 00:43 EDT, Craig Rodrigues
no flags Details

  None (edit)
Description Craig Rodrigues 2016-08-25 00:43:13 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:

https://github.com/fabric/fabric/issues/1378


Mathias then created a fork of Fabric which supports Python 2.7 and 3.4+:

https://github.com/mathiasertl/fabric


This port is actively maintained and follows the upstream fabric release schedule.
It has also been uploaded to pypi:

https://pypi.python.org/pypi/Fabric3/1.12.post1


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.
Comment 1 Athmane Madjoudj 2016-08-27 10:25:20 EDT
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.
Comment 2 Petr Viktorin 2016-08-29 08:50:11 EDT
Perhaps it would be better to add Mathias' fork as a separate new package?
Comment 3 Athmane Madjoudj 2016-08-29 15:20:43 EDT
That was my thinking, I'll submit review request.
Comment 4 Craig Rodrigues 2016-08-29 15:54:30 EDT
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
differences.
Comment 5 Fedora End Of Life 2017-02-28 05:09:09 EST
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Note You need to log in before you can comment on or make changes to this bug.