On 29. 04. 20 18:41, Nicolas Mailhot via devel wrote:
Le mercredi 29 avril 2020 à 16:27 +0200, Tomas Orsava a écrit :
> I’m working on a change to rename pythonXY packages to pythonX.Y,
> e.g. python39 to python3.9.
> When you install an additional Python interpreter, the command that
> runs it contains a dot (e.g. /usr/bin/python3.9) but the package name
> does not (e.g. dnf install python39).
If you go into cleanup & renaming mode, please add a '-' between python
and the version, so it is consistent with the way versionned names have
been done in the distribution for a long time.
For example, I see we have a
As you see the magic '-' makes it possible to use non-numeric version
qualifiers later without breaking naming conventions.
The command is named pythonX.Y, not python-X.Y and we want this consistent.
The packaging guidelines say:
All [compat packages] MUST include the base name suffixed by either:
* The package version, which SHOULD include the periods present in the original
version. [...] If the base package name does not end with a digit, the version
MUST be *directly appended* to the package name with *no intervening separator*.
* a hyphen ("-") followed by a descriptive suffix such as "stable"
provides some indication as to the nature of the packaged version.