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

Thomas Goirand zigo at debian.org
Sat Feb 27 12:54:41 UTC 2021


On 2/27/21 11:28 AM, Radosław Piliszek wrote:
> Hi Zigo,
> 
> On Sat, Feb 27, 2021 at 10:24 AM Thomas Goirand <zigo at debian.org> wrote:
>> Using the ${pyvers} so we can switch be between Python versions made
>> sense 1 or 2 years ago. However, I'm in the opinion that we should stop
>> using that, and switch to using python3 everywhere directly whenever
>> possible. Though Tobias seems to not agree (see [1]), so I'm raising the
>> topic in the list so we can discuss this together.
>>
>> [1] https://review.opendev.org/c/openstack/puppet-swift/+/777564
> 
> I had a quick look and I believe Tobias is not against not using that
> var but the fact that you renamed the resource from
> python-ceilometermiddleware to ceilometermiddleware which does not
> make sense indeed and could be breaking.
> 
> Kind regards,
> 
> -yoctozepto

I'll fix that. But the question remain: shall we deprecate the use of
${pyvers} and use python3 instead?

Cheers,

Thomas Goirand (zigo)



More information about the openstack-discuss mailing list