Bug 1580127 - python-fabric3: python3-fabric3 is missing Python 3 version of executables
Summary: python-fabric3: python3-fabric3 is missing Python 3 version of executables
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-fabric3
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Othman Madjoudj
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PY3-EXECUTABLES
TreeView+ depends on / blocked
 
Reported: 2018-05-20 13:23 UTC by Iryna Shcherbina
Modified: 2019-03-27 21:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-27 21:37:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Iryna Shcherbina 2018-05-20 13:23:07 UTC
The Python 3 subpackage python3-fabric3 is missing executables available in the Python 2 subpackage.

According to the Fedora Packaging guidelines for Python [0], if a Python package that supports Python 3 installs executables into /usr/bin,  then either both Python versions of the executables should be packaged, or only the Python 3 version, depending on the functionality they provide.
(Note the "should": having Python 2-only executables is permitted, but strongly discouraged.)

Is it intentional for this particular package?

In case it is not intentional, please provide a Python 3 version of executable, or you can just move the executable to the Python 3 subpackage if the functionality is the same regardless of the Python version. The guide for porting Python-based RPMs is available here [1] and you may refer to it for more instructions.

It's ok to do this in Rawhide only, however, it would be greatly
appreciated if you could push it to Fedora 28 as well.

If anything is unclear, or if you need any kind of assistance, you can
ask on IRC (#fedora-python on Freenode), or reply here. We'll be happy
to help investigating or fixing the issue!

[0] https://fedoraproject.org/wiki/Packaging:Python#Avoiding_collisions_between_the_python_2_and_python_3_stacks
[1] http://python-rpm-porting.readthedocs.io/

Comment 1 Othman Madjoudj 2018-05-20 21:22:10 UTC
python-fabric3 fork is there only to provide Fabric 1.x API (on py2), since Fabric 2.x brought python3 compatibility but broke the API.

Avocado Framework (python-avocado ...) is still depending on 1.x API, once ported python-fabric3 will be retired.


https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/TRNQZDNIPL2NAKXWLC3DZFK7AMWF5AIM/

Comment 2 Jan Kurik 2018-08-14 11:06:41 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 3 Miro Hrončok 2019-02-03 12:13:49 UTC
python-avocado no longer exists in rawhide.

Comment 4 Miro Hrončok 2019-03-17 21:55:06 UTC
Athmane, what's the status here?

Comment 5 Miro Hrončok 2019-03-27 10:22:44 UTC
Athmane, are you responsive?

Comment 6 Othman Madjoudj 2019-03-27 21:26:52 UTC
In that case, I'll retire python-fabric3 and switch Fabric2 as default Fabric.


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