<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 25, 2021 at 10:23 PM Ghanshyam Mann <<a href="mailto:gmann@ghanshyammann.com">gmann@ghanshyammann.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> ---- On Thu, 25 Nov 2021 13:58:28 -0600 Marcin Juszkiewicz <<a href="mailto:marcin.juszkiewicz@linaro.org" target="_blank">marcin.juszkiewicz@linaro.org</a>> wrote ----<br>
 > W dniu 25.11.2021 o 19:13, Stephen Finucane pisze:<br>
 > > gmann has been helpfully proposing patches to change the versions of Python<br>
 > > we're testing against in Yoga. I've suggested that we might want to bump<br>
 > > 'python_requires' in 'setup.cfg' to indicate that we no longer support any<br>
 > > version of Python before 3.8<br>
 > <br>
 > CentOS Stream 8 has Python 3.6 by default and RDO team is doing CS8 -> <br>
 > CS9 migration during Yoga cycle. Can we postpone it to Z when there will <br>
 > be no distribution with Py 3.6 to care about?<br>
<br></blockquote><div><br></div><div>As Marcin posted, the plan in RDO is to support both CentOS Stream 8 and CentOS Stream 9 in Yoga. This is how we have managed previous major CentOS version upgrades in the past providing support for both releases in an OpenStack version to ease the upgrade so I'd like to keep yoga working on py3.6 included in CS8 and CS9.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Postponing to Z, you mean dropping the py3.6 tests or bumping it in in 'setup.cfg'<br>
so that no one can install on py3.6 ?<br>
<br>
First one we already did and as per Yoga testing runtime we are targeting centos9-stream[1]<br>
in Yoga itself.<br>
<br>
For making 'python_requires' >=py3.8 in 'setup.cfg', I have no string opinion on this but I prefer<br>
to have flexible here that 'yes OpenStack is installable in py3.6 but we do not test it anymore<br>
from Yoga onwards so no guarantee'.  Our testing runtime main goal is that we document the version we<br>
are testing *at least* which means it can work on lower or higher versions too but we just do not test them.<br>
<br></blockquote><div><br></div>May it be possible to keep py3.6 jobs to make sure patches are not introducing py3.8-only features that would break deployment in CS8?<br></div><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Just for some background, we started adding  'python_requires'  in 'setup.cfg' when we dropped<br>
py2.7 and wanted a hard stop for anyone keep using py2.7 on OpenStack. But in python3 world<br>
we do not have to use it for every min version bump as such.<br>
<br>
[1] <a href="https://governance.openstack.org/tc/reference/runtimes/yoga.html" rel="noreferrer" target="_blank">https://governance.openstack.org/tc/reference/runtimes/yoga.html</a><br>
<br>
-gmann <br>
<br>
 > <br>
 >                              <br>
<br>
</blockquote></div></div>