[Bug 1426785] Review Request: pyjokes - One line jokes for programmers ( jokes as a service)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1426785

Iryna Shcherbina <ishcherb@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ishcherb@xxxxxxxxxx
             Blocks|                            |1285816 (PYTHON3)



--- Comment #11 from Iryna Shcherbina <ishcherb@xxxxxxxxxx> ---
The python2-pyjokes RPM requires both Python 2 and Python 3.

$ dnf --enablerepo=rawhide repoquery --requires python2-pyjokes
/usr/bin/python3
python(abi) = 2.7

Except in very special circumstances, there is no need for one package
to drag in both Python stacks. Usually, this is a packaging error, in this
case a Python 3 built executable is installed in a Python 2 subpackage.

According to the Packaging Guidelines [0], if the executable should generate 
the same output regardless of whether it is built with Python 2 or Python 3, 
then only the Python 3 version of the executable should be packaged. 
I believe this is the case for `/usr/bin/pyjoke`, so please install it only 
in the Python 3 subpackage. There is a section on `%install` in the 
Python RPM Porting Guide [1] which covers this 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.


If anything is unclear, or if you need any kind of assistance, you can
ask on IRC (#fedora-python on Freenode), or reply here.

[0]
https://fedoraproject.org/wiki/Packaging:Python#Avoiding_collisions_between_the_python_2_and_python_3_stacks
[1]
http://python-rpm-porting.readthedocs.io/en/latest/application-modules.html#install


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1285816
[Bug 1285816] Tracking: Python 3 Porting
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux