python_requires >= 3.8 during Yoga

Radosław Piliszek radoslaw.piliszek at gmail.com
Fri Nov 26 17:56:50 UTC 2021


On Fri, 26 Nov 2021 at 18:38, Alfredo Moralejo Alonso
<amoralej at redhat.com> wrote:
>
>
>
> On Fri, Nov 26, 2021 at 3:29 PM Radosław Piliszek <radoslaw.piliszek at gmail.com> wrote:
>>
>> On Fri, 26 Nov 2021 at 14:31, Dmitry Tantsur <dtantsur at redhat.com> wrote:
>> >
>> >
>> >
>> > On Fri, Nov 26, 2021 at 1:28 PM Balazs Gibizer <balazs.gibizer at est.tech> wrote:
>> >>
>> >>
>> >>
>> >> On Fri, Nov 26 2021 at 11:47:42 AM +0100, Dmitry Tantsur
>> >> <dtantsur at redhat.com> wrote:
>> >> > Hi all,
>> >> >
>> >> > Note that this decision will force us to stop supporting Bifrost [1]
>> >> > on CentOS/RHEL completely, unless we find a workaround. While Python
>> >> > 3.8 and 3.9 can be installed, they lack critical modules like
>> >> > python3-dnf or python3-firewalld, which cannot be pip-installed
>> >> > (sigh).
>> >> >
>> >> > A similar problem in Metal3: we use python3-mod_wsgi, but I guess we
>> >> > can switch to something else in this case.
>> >>
>> >> I'm not sure I got it. Don't OpenStack already supports py38
>> >> officially? Based on my understanding of the above it is not the case.
>> >
>> >
>> > Now I'm confused as well :)
>> >
>> > OpenStack supports 3.8 and 3.9, CentOS/RHEL ships 3.6 and a limited version of 3.8 and 3.9. Some Python projects may be okay with it, but Ansible requires things that cannot be installed unless provided by OS packages (or built from source). Examples include python3-dnf, python3-libselinux, python3-firewall and presumably python3-mod_wsgi.
>>
>> The question is: is it hard for RDO to provide these deps?
>> If not, it might be the easiest solution.
>> If yes, we (TC) might want to revisit this decision for this cycle.
>>
>
> Yes, it's hard to provide those deps. The gap is big, in CS8 there are 281 python3- (py3.6) packages vs 36 python39 ones.
>
> Some of them are built with non-python packages, as libselinux, firewalld, libvirt, etc... and would require  to fork and fixing packages for coinstalability. Also, there are no warranties that all those versions of packages will work on py39 in CS8.

Thanks, Alfredo, for shedding more light on it.

I agree with the conclusions made by you and Ghanshyam (in the other
branch of this very thread).

-yoctozepto



More information about the openstack-discuss mailing list