Skip to content

Commit

Permalink
Add tox Python3.11 job to the testing queues
Browse files Browse the repository at this point in the history
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]python/cpython#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
  • Loading branch information
ralonsoh committed Feb 1, 2023
1 parent f2ef00f commit 267ad86
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zuul.d/job-templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions zuul.d/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 267ad86

Please sign in to comment.