From 1587c22d0a7cf8ea0d37a4ec69ef742bf818e7f9 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 16 Nov 2022 17:07:20 +0900 Subject: [PATCH] Update comments about python versions used in sanity checks ... to explain why we need these more clearly and precisely. Change-Id: I9acffef0d85ccb0dfc2c5ebaba7f1c9c72c8435e --- zuul.d/layout.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/zuul.d/layout.yaml b/zuul.d/layout.yaml index 3c64a30..769a786 100644 --- a/zuul.d/layout.yaml +++ b/zuul.d/layout.yaml @@ -5,7 +5,11 @@ parent: tox vars: tox_envlist: sanity # dynamic tox env added by tox-ansible - # we want to run sanity only on py3.10 instead of implicit 2.6-3.9 range + # We need to use the proper python version depends on the Ansible + # version (For example python 3.10 requires Ansible >=2.13). As we pin + # Ansible version for sanity environemnt in tox.ini, we pin python + # version here. Python 3.10 is now the default Python version in Jammy + # and we need to revisit this when we migrate this job to a new version. tox_extra_args: -- --python 3.10 - job: @@ -14,7 +18,11 @@ parent: tox vars: tox_envlist: units # dynamic tox env added by tox-ansible - # we want to run sanity only on py3.10 instead of implicit 2.6-3.9 range + # We need to use the proper python version depends on the Ansible + # version (For example python 3.10 requires Ansible >=2.13). As we pin + # Ansible version for sanity environemnt in tox.ini, we pin python + # version here. Python 3.10 is now the default Python version in Jammy + # and we need to revisit this when we migrate this job to a new version. tox_extra_args: -- --python 3.10 - job: