Run py312 jobs on Ubuntu Noble

Ubuntu Noble packages python 3.12 for us. Rather than use pyenv on
Ubuntu Jammy to build python 3.12 which adds time to jobs (and probably
gives us a less efficient python build) we switch the job to run on
Ubuntu Noble using the packaged python instead.

We update bindep.txt to force the installation of libffi8 on Noble
otherwise it falls back to libffi6 which is not available.

Change-Id: I274d8e922f448be5bc7e3127e66b4bd246eb02d9
This commit is contained in:
Clark Boylan 2024-05-23 15:07:28 -07:00
parent 00bd1a99cb
commit 5b854985e4
2 changed files with 3 additions and 3 deletions

View File

@ -156,8 +156,8 @@
# This could probably use some refactoring to have a base unittest job
# that isn't python version specific.
parent: zuul-nox-py311
nodeset: ubuntu-noble
vars:
python_use_pyenv: true
nox_force_python: "3.12"
python_version: "3.12"

View File

@ -26,9 +26,9 @@ libssl1.1 [platform:debian platform:ubuntu-bionic !platform:debian-bookworm]
libssl1.0.0 [platform:ubuntu-xenial]
libffi-dev [compile test platform:dpkg platform:apk]
libffi [platform:apk]
libffi8 [platform:ubuntu-jammy platform:debian-bookworm]
libffi8 [platform:ubuntu-jammy platform:ubuntu-noble platform:debian-bookworm]
libffi7 [platform:ubuntu-focal platform:debian-bullseye]
libffi6 [platform:dpkg !platform:ubuntu-focal !platform:ubuntu-jammy !platform:debian-bullseye !platform:debian-bookworm]
libffi6 [platform:dpkg !platform:ubuntu-focal !platform:ubuntu-jammy !platform:ubuntu-noble !platform:debian-bullseye !platform:debian-bookworm]
libffi-devel [compile test platform:rpm]
# These two compression libs are needed when installing python3.12 from
# source using pyenv. We can drop them once we're using distro packages.