From b557b9580a6ee987009e5e7945d86448f4d239de Mon Sep 17 00:00:00 2001 From: "Dr. Jens Harbott" Date: Mon, 17 Jun 2024 18:09:40 +0200 Subject: [PATCH] Add requirements-tox-py312-check-uc job Test requirements against Python 3.12, but make it non-voting for now. Change-Id: I37b862363b35e99a0a6adc7868ad68bd3d5ea9dd --- .zuul.d/jobs.yaml | 10 ++++++++++ .zuul.d/project.yaml | 2 ++ tox.ini | 5 +++++ 3 files changed, 17 insertions(+) diff --git a/.zuul.d/jobs.yaml b/.zuul.d/jobs.yaml index 953d1c6482..2bf6ebbbf7 100644 --- a/.zuul.d/jobs.yaml +++ b/.zuul.d/jobs.yaml @@ -52,6 +52,16 @@ files: ^upper-constraints.*txt$ vars: tox_envlist: py311-check-uc +- job: + name: requirements-tox-py312-check-uc + parent: openstack-tox-py312 + description: | + Run test for requirements project. + + Uses tox with the ``py312-check-uc`` environment. + files: ^upper-constraints.*txt$ + vars: + tox_envlist: py312-check-uc - job: name: requirements-tox-py38-check-uc-no-wheels diff --git a/.zuul.d/project.yaml b/.zuul.d/project.yaml index 9979b87008..6174e5e01c 100644 --- a/.zuul.d/project.yaml +++ b/.zuul.d/project.yaml @@ -20,6 +20,8 @@ - requirements-tox-py39-check-uc - requirements-tox-py310-check-uc - requirements-tox-py311-check-uc + - requirements-tox-py312-check-uc: + voting: false - requirements-tox-validate-projects: voting: false - cross-aodh-py311 diff --git a/tox.ini b/tox.ini index 8d7aa6baa5..52a9dd46b6 100644 --- a/tox.ini +++ b/tox.ini @@ -36,6 +36,11 @@ basepython = python3.11 deps = -r{toxinidir}/upper-constraints.txt commands = check-conflicts {toxinidir}/upper-constraints.txt {toxinidir}/upper-constraints-xfails.txt +[testenv:py312-check-uc] +basepython = python3.12 +deps = -r{toxinidir}/upper-constraints.txt +commands = check-conflicts {toxinidir}/upper-constraints.txt {toxinidir}/upper-constraints-xfails.txt + [testenv:venv] commands = {posargs}