[Fedora-packaging] Proposal for Python guidelines change (in connection to Python 3 switch)

Bohuslav Kabrda bkabrda at redhat.com
Wed Dec 4 12:18:31 UTC 2013


----- Original Message -----
> Dne 4.12.2013 12:37, Bohuslav Kabrda napsal(a):
> > (tkinter is actually a subpackage of python itself)
> 
> I guess you know what I mean here, but to be clear:
> 
> tkinter is only an example, we got more, like pyserial, PyYAML...

Oh, I see. Some time ago, FPC has accepted a change that says, that packages with "py" in name should be prefixed with "python-" anyway [1]. Since this only applies to newly created packages, we will have to cope with this, unfortunately. So my idea of handling this would be:
- all packages must have Provides: python-*
- packages that weren't prefixed with "python-" previously (pyserial, PyYAML), should also carry an explicit Provides/Obsoletes for the old name.
Sounds good?

> Other thing:
> 
> What about apps? Do we want something in the guidelines that would say:
> 
> 	If the app clearly works with both Python 2 and Python 3,
> 	then the Fedora package is obligated to use Python 3 instead
> 	of Python 2.
> 
> 	If however the app only works with one of them, obviously,
> 	Fedora package uses and requires that one.
> 
> Or do we keep that on the packager's decision?

Toshio already proposed a guidelines solution for this [2], but now that I look at it, it seems that it never got proposed to FPC. Toshio, will you propose that or should I? I guess we can do this regardless of the change I'm proposing now.

> --
> Miro HronĨok
> --
> Phone: +420777974800
> IRC: mhroncok

-- 
Regards,
Bohuslav "Slavek" Kabrda.

[1] https://fedorahosted.org/fpc/ticket/271
[2] https://lists.fedoraproject.org/pipermail/python-devel/2013-November/000528.html


More information about the python-devel mailing list