Add python 3.12 testing to Zuul
We use pyenv to install python3.12 on ubuntu jammy (which doesn't have native packages for this version of python). We don't update the container images just yet as we want to build confidence through testing before end users see the new python version in production. Change-Id: I20a57f6d29699886867ce912e9943c59aa9963f4
This commit is contained in:
parent
dfe96519b1
commit
20657c13bd
12
.zuul.yaml
12
.zuul.yaml
|
@ -140,6 +140,16 @@
|
|||
nox_environment:
|
||||
ZUUL_SCHEDULER_COUNT: 2
|
||||
|
||||
- job:
|
||||
name: zuul-nox-py312
|
||||
# This could probably use some refactoring to have a base unittest job
|
||||
# that isn't python version specific.
|
||||
parent: zuul-nox-py311
|
||||
vars:
|
||||
python_use_pyenv: true
|
||||
nox_force_python: "3.12"
|
||||
python_version: "3.12"
|
||||
|
||||
- job:
|
||||
name: zuul-build-dashboard
|
||||
parent: build-javascript-deployment
|
||||
|
@ -361,6 +371,7 @@
|
|||
nodeset: ubuntu-jammy
|
||||
- zuul-nox-py311
|
||||
- zuul-nox-py311-multi-scheduler
|
||||
- zuul-nox-py312
|
||||
- zuul-build-dashboard-openstack-whitelabel
|
||||
- zuul-build-dashboard-software-factory
|
||||
- zuul-build-dashboard-opendev
|
||||
|
@ -394,6 +405,7 @@
|
|||
nox_install_bindep: false
|
||||
nodeset: ubuntu-jammy
|
||||
- zuul-nox-py311
|
||||
- zuul-nox-py312
|
||||
- zuul-build-dashboard
|
||||
- nodejs-run-lint:
|
||||
vars:
|
||||
|
|
|
@ -30,6 +30,10 @@ libffi8 [platform:ubuntu-jammy 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]
|
||||
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.
|
||||
liblzma-dev [test]
|
||||
libbz2-dev [test]
|
||||
libyaml-0-2 [platform:dpkg platform:suse]
|
||||
libyaml [platform:redhat]
|
||||
libyaml-dev [platform:dpkg compile test]
|
||||
|
|
Loading…
Reference in New Issue