[all][tc] python 3.11 testing plan
Jeremy Stanley
fungi at yuggoth.org
Fri Aug 25 13:03:45 UTC 2023
On 2023-08-25 10:16:29 +0200 (+0200), Thomas Goirand wrote:
[...]
> I kind of like the idea in this thread to have a venv where we
> would run the latest RC version of the interpreter. This would be
> lighter than maintaining another image, no? At least this way,
> this gives upstream OpenStack the opportunity to be closer to
> distros, where as currently, the project is lagging 1 year and 1
> interpreter version behind...
The ensure-python role used by most of OpenStack's test jobs
supports installing Python in other ways than from distro packages
already, that just happens to be its default method. If you set the
python_use_pyenv[*] flag then it will clone and install pyenv[**]
from GitHub and proceed to build the requested Python
interpreter/stdlib version.
The main downsides I see for not using a prebuilt Python packages is
that the effected jobs are going to end up building Python from
source on every run, and there's still no guarantee that we have an
available platform where the requested Python version can be built
successfully.
[*] https://zuul-ci.org/docs/zuul-jobs/latest/python-roles.html#rolevar-ensure-python.python_use_pyenv
[**] https://github.com/pyenv/pyenv
--
Jeremy Stanley
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230825/2c463739/attachment.sig>
More information about the openstack-discuss
mailing list