diff --git a/.zuul.yaml b/.zuul.yaml index 56975479b0..1736a79af8 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -144,6 +144,22 @@ bindep_profile: test py311 python_version: '3.11' +- job: + name: swift-tox-py312 + parent: swift-tox-base + nodeset: debian-bookworm + description: | + Run unit-tests for swift under cPython version 3.12. + + Uses tox with the ``py312`` environment. + It sets TMPDIR to an XFS mount point created via + tools/test-setup.sh. + vars: + tox_envlist: py312 + bindep_profile: test py312 + python_use_pyenv: True + python_version: '3.12' + - job: name: swift-tox-func-py27 parent: swift-tox-base @@ -673,6 +689,8 @@ irrelevant-files: *unittest-irrelevant-files - swift-tox-py311: irrelevant-files: *unittest-irrelevant-files + - swift-tox-py312: + irrelevant-files: *unittest-irrelevant-files # Functional tests - swift-tox-func-py27: @@ -761,6 +779,7 @@ - swift-tox-py36 - swift-tox-py38 - swift-tox-py311 + - swift-tox-py312 - swift-tox-func-py27 - swift-tox-func-encryption-py27 - swift-tox-func-ec-py27 diff --git a/setup.cfg b/setup.cfg index 34e8321dd2..321222e269 100644 --- a/setup.cfg +++ b/setup.cfg @@ -28,6 +28,7 @@ classifier = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 [pbr] skip_authors = True