diff --git a/.zuul.yaml b/.zuul.yaml index bc70336609..f511aadbe4 100644 --- a/.zuul.yaml +++ b/.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 @@ -364,6 +374,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 @@ -397,6 +408,7 @@ nox_install_bindep: false nodeset: ubuntu-jammy - zuul-nox-py311 + - zuul-nox-py312 - zuul-build-dashboard - nodejs-run-lint: vars: diff --git a/bindep.txt b/bindep.txt index 2d475c77a5..09b4980e51 100644 --- a/bindep.txt +++ b/bindep.txt @@ -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] diff --git a/setup.cfg b/setup.cfg index 00ac9ae836..240496a911 100644 --- a/setup.cfg +++ b/setup.cfg @@ -15,6 +15,7 @@ classifier = Programming Language :: Python Programming Language :: Python :: 3 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 [pbr] warnerrors = True