python_requires >= 3.8 during Yoga
Dmitry Tantsur
dtantsur at redhat.com
Fri Nov 26 13:29:53 UTC 2021
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.
Dmitry
>
> Cheers,
> gibi
>
> >
> > Dmitry
> >
> > [1] An upstream installation service for Ironic based on Ansible
> >
> > On Thu, Nov 25, 2021 at 7:19 PM Stephen Finucane
> > <stephenfin at redhat.com> wrote:
> >> gmann has been helpfully proposing patches to change the versions of
> >> Python
> >> we're testing against in Yoga. I've suggested that we might want to
> >> bump
> >> 'python_requires' in 'setup.cfg' to indicate that we no longer
> >> support any
> >> version of Python before 3.8 [1]. As gmann has noted, doing so
> >> would mean nova
> >> would no longer be installable on Python 3.6 or 3.7 and there has
> >> been a small
> >> bit of back and forth on the pros and cons of this. I'm wondering
> >> what other
> >> people's thoughts on this are. Is this something we should be
> >> doing? Should we
> >> do it for libraries too or just services? Do we ever want to do
> >> this? Thoughts,
> >> please!
> >>
> >> Stephen
> >>
> >> [1]
> >>
> https://review.opendev.org/c/openstack/nova/+/819194/comment/72ecf24f_2bd292c4/
> >>
> >>
> >
> >
> > --
> > Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
> > Commercial register: Amtsgericht Muenchen, HRB 153243,
> > Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs,
> > Michael O'Neill
>
>
>
--
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael
O'Neill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20211126/524b4ae2/attachment-0001.htm>
More information about the openstack-discuss
mailing list