Re: Renaming pythonXY packages to pythonX.Y (e.g. python39 to python3.9)

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

 



On Wed, Apr 29, 2020 at 07:57:13PM +0200, Miro Hrončok wrote:
> On 29. 04. 20 19:50, Nicolas Mailhot wrote:
> >>I don't agree that "python3.9" as a package name annoys humans or
> >>break  automation scripts. How does it?
> >As soon as you have a different naming convention for numeric and non
> >numeric qualifiers all the code that manipulates your package names
> >must test if the qualifier is numeric or not, to add the hyphen or not.
> >
> >It is much simpler to just assume -<qualifier> everywhere, without
> >testing <qualifier> in any way.
> >
> >That’s why
> >
> >%package XXX
> >
> >will create foo-XXX by default, and not ask you to split hairs and test
> >if XXX is numeric or not (yes the hyphen separator is built in rpm core
> >logic)
> 
> What you say is true. I still don't agree that "python3.9" as a
> package name annoys humans. And I don't understand what kind of
> automation are we talking about that needs to parse the "3.9" part
> and figure out it is a "qualifier".
> 
> Such automation is broken anyway, because it cannot tell if
> python-requests is a Python library or a Python "qualifier".

Yep, having a dash there would create potential conflicts with python
modules names. And it would be confusing for users, who wouldn't know
if python-latest is a the module 'latest' or not.

+1 to the renaming as proposed.

Zbyszek
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux