From 267ad8629153d9781ea0521f29862807ecc1da03 Mon Sep 17 00:00:00 2001 From: Rodolfo Alonso Hernandez Date: Wed, 18 Jan 2023 18:22:08 +0100 Subject: [PATCH] Add tox Python3.11 job to the testing queues This new job called "tox-py311" is added to the following template queues: * check * periodic This patch tries to address what has been detected in [1][2]: a mock spec argument cannot be another mock. This new job is temporary. Once the "openstack-tox-py311" job definition is created and added to the "openstack-python3-jobs" template, we'll revert this patch. Until this happens, we'll test Python3.11 using the "tox-py311" job defined in [3]. [1]https://github.com/python/cpython/issues/87644 [2]https://bugs.launchpad.net/cinder/+bug/2000436 [3]https://opendev.org/zuul/zuul-jobs/src/branch/master/zuul.d/python-jobs.yaml Change-Id: Iebe3fc75ca8b15cec49603e61a7acd211f24e03e --- zuul.d/job-templates.yaml | 3 +++ zuul.d/project.yaml | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/zuul.d/job-templates.yaml b/zuul.d/job-templates.yaml index 9b2d3e7c352..dfa670ec281 100644 --- a/zuul.d/job-templates.yaml +++ b/zuul.d/job-templates.yaml @@ -104,6 +104,9 @@ name: neutron-periodic-jobs periodic: jobs: + # NOTE(ralonsoh): to be removed when "openstack-tox-py311" is defined + # and added to "openstack-python3-jobs" template. + - tox-py311 - neutron-functional - neutron-functional-with-uwsgi-fips - neutron-functional-with-pyroute2-master diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index ba9f2f9a10a..a6690bcc087 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -17,6 +17,10 @@ - neutron-tox-override-jobs check: jobs: + # NOTE(ralonsoh): to be removed when "openstack-tox-py311" is defined + # and added to "openstack-python3-jobs" template. + - tox-py311: + voting: false - neutron-functional-with-uwsgi - neutron-fullstack-with-uwsgi - neutron-ovs-grenade-multinode