Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1361789 - pyftpdlib: python2-pyftpdlib requires both Python 2 and Python 3
Summary: pyftpdlib: python2-pyftpdlib requires both Python 2 and Python 3
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pyftpdlib
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Othman Madjoudj
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3 PY3PATCH-AVAILABLE
TreeView+ depends on / blocked
 
Reported: 2016-07-30 12:43 UTC by Petr Viktorin (pviktori)
Modified: 2016-07-30 16:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-30 16:11:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch that moves the script (deleted)
2016-07-30 12:43 UTC, Petr Viktorin (pviktori)
no flags Details | Diff

Description Petr Viktorin (pviktori) 2016-07-30 12:43:25 UTC
Created attachment 1185807 [details]
Patch that moves the script

Hello,
Thank you for your effort of porting pyftpdlib to Python 3 in Fedora! It's much appreciated.

However, there's one more issue: the /usr/bin/ftpbench script runs under Python 3 (as it should, according to guidelines), but it's packaged under the python2 subpackage.

Here's a patch to solve the issue.

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



There is a section on shebangs in the Python RPM Porting Guide [0]
which covers this issue.

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 this issue!

[0] http://python-rpm-porting.readthedocs.io/en/latest/application-modules.html#are-shebangs-dragging-you-down-to-python-2

Comment 1 Petr Viktorin (pviktori) 2016-07-30 12:44:24 UTC
A Koji scratch build is here: http://koji.fedoraproject.org/koji/taskinfo?taskID=15073823

Comment 2 Othman Madjoudj 2016-07-30 16:11:52 UTC
I missed that one, fixed in rawhide/f25, thanks for the patch.


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