[puppet-openstack] stop using the ${pyvers} variable

Radosław Piliszek radoslaw.piliszek at gmail.com
Sun Feb 28 09:01:20 UTC 2021


On Sat, Feb 27, 2021 at 7:28 PM Thomas Goirand <zigo at debian.org> wrote:
> >  - We still use pyvers in the other modules so it would make sense to
> > have consistent implementation
> >    before we actually remove usage of pyvers from all modules.
>
> The fact that we're using pyvers in other modules isn't relevant,
> because I'm hereby proposing to remove such a usage.
>
> > Personally I prefer keeping pyvers because it doesn't make much effort
> > but helps us just in case
> > we have Python4 in a future (though I don't know when it really comes)
> > or any distro changes
> > package name format from python3- to python- or any different style.
> There will *not* be any python4, ever. Upstream python people clearly
> expressed themselves about it.
>
> On the Debian/Ubuntu side of things, we don't plan on ever changing our
> policy, so packages will stay as "python3-<FOO>".
>
> It does add some effort to use a ${pyvers} variable, because it makes
> the code less readable.

I am with zigo on this one.
Going forward, this variable simply does not make sense.

-yoctozepto



More information about the openstack-discuss mailing list