Extend the tox<4 pinning for unmaintained branches also

Tox was pinned < version 4 for all stable branches <=zed.
With new branch namespace, those stable branches moving to
unmaintained/* name[1] and endup using the latest tox version
and fail[2]. To fix that, we need to extend the tox pin for
those unmaintianed branches also.

Currently only unmaintained/yoga is proposed but soon or in
future all branches from victoria to zed are moving to
unmaintained/ so pinning tox for those branches also.

[1] https://review.opendev.org/q/topic:%22create-yoga%22
[2] https://zuul.opendev.org/t/openstack/build/201ecdc067e646868c4f17374093f328

Change-Id: I2a977fa9c57e540ded4cc5017283302106f5c807
This commit is contained in:
Ghanshyam Mann 2024-02-06 11:27:35 -08:00
parent 213fe7d1e0
commit d85300e755
1 changed files with 40 additions and 40 deletions

View File

@ -46,19 +46,19 @@
job is prepared to make sure all stable branches from stable/victoria until
stable/zed will keep running on Focal.
branches:
- stable/victoria
- stable/wallaby
- stable/xena
- stable/yoga
- stable/zed
- ^.*/victoria
- ^.*/wallaby
- ^.*/xena
- ^.*/yoga
- ^.*/zed
required-projects:
- name: openstack/requirements
vars:
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/openstack/requirements/upper-constraints.txt'
enable_fips: false
# NOTE(gmann): This is stable branch (<=stable/zed) job and new
# tox 4 require some changes in tox.ini to be compatible with it. Let's
# pin tox <4 for stable branches testing (<=stable/zed).
# NOTE(gmann): This is stable|unmaintained branch (<=(stable|unmaintained)/zed)
# job and new tox 4 require some changes in tox.ini to be compatible with it. Let's
# pin tox <4 for stable branches testing (<=(stable|unmaintained)/zed).
ensure_tox_version: '<4'
- job:
@ -215,18 +215,18 @@
Uses tox with the ``py38`` environment.
irrelevant-files: *common-irrelevant-files
branches:
- stable/victoria
- stable/wallaby
- stable/xena
- stable/yoga
- stable/zed
- ^.*/victoria
- ^.*/wallaby
- ^.*/xena
- ^.*/yoga
- ^.*/zed
vars:
tox_envlist: py38
bindep_profile: test py38
python_version: '3.8'
# NOTE(gmann): This is stable branch (<=stable/ussuri) job and new
# NOTE(gmann): This is stable branch (<=(stable|unmaintained)/zed) job and new
# tox 4 require some changes in tox.ini to be compatible with it. Let's
# pin tox <4 for stable branches testing (<=stable/zed).
# pin tox <4 for stable branches testing (<=(stable|unmaintained)/zed).
ensure_tox_version: '<4'
- job:
@ -300,18 +300,18 @@
Uses tox version <4 with the ``py39`` environment.
irrelevant-files: *common-irrelevant-files
branches:
- stable/victoria
- stable/wallaby
- stable/xena
- stable/yoga
- stable/zed
- ^.*/victoria
- ^.*/wallaby
- ^.*/xena
- ^.*/yoga
- ^.*/zed
vars:
tox_envlist: py39
bindep_profile: test py39
python_version: '3.9'
# NOTE(gmann): This is stable branch (<=stable/ussuri) job and new
# NOTE(gmann): This is stable branch (<=(stable|unmaintained)/zed) job and new
# tox 4 require some changes in tox.ini to be compatible with it. Let's
# pin tox <4 for stable branches testing (<=stable/zed).
# pin tox <4 for stable branches testing (<=(stable|unmaintained)/zed).
ensure_tox_version: '<4'
- job:
@ -359,15 +359,15 @@
Uses tox version <4 with the ``py310`` environment.
irrelevant-files: *common-irrelevant-files
branches:
- stable/yoga
- stable/zed
- ^.*/yoga
- ^.*/zed
vars:
tox_envlist: py310
bindep_profile: test py310
python_version: '3.10'
# NOTE(gmann): This is stable branch (<=stable/ussuri) job and new
# NOTE(gmann): This is stable branch (<=/(stable|unmaintained)/zed) job and new
# tox 4 require some changes in tox.ini to be compatible with it. Let's
# pin tox <4 for stable branches testing (<=stable/zed).
# pin tox <4 for stable branches testing (<=(stable|unmaintained)/zed).
ensure_tox_version: '<4'
- job:
@ -486,19 +486,19 @@
This job runs on focal from stable/victoria until stable/zed.
nodeset: ubuntu-focal
branches:
- stable/victoria
- stable/wallaby
- stable/xena
- stable/yoga
- stable/zed
- ^.*/victoria
- ^.*/wallaby
- ^.*/xena
- ^.*/yoga
- ^.*/zed
required-projects:
- name: openstack/requirements
irrelevant-files: *common-irrelevant-files
vars:
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/openstack/requirements/upper-constraints.txt'
# NOTE(gmann): This is stable branch (<=stable/zed) job and new
# NOTE(gmann): This is stable branch (<=(stable|unmaintained)/zed) job and new
# tox 4 require some changes in tox.ini to be compatible with it. Let's
# pin tox <4 for stable branches testing (<=stable/zed).
# pin tox <4 for stable branches testing (<=(stable|unmaintained)/zed).
ensure_tox_version: '<4'
timeout: 3000
@ -905,9 +905,9 @@
bindep_profile: compile doc
tox_pdf_envlist: pdf-docs
tox_skip_pdf: false
# NOTE(gmann): This is stable branch (<=stable/zed) job and new
# NOTE(gmann): This is stable branch (<=(stable|unmaintained)/zed) job and new
# tox 4 require some changes in tox.ini to be compatible with it. Let's
# pin tox <4 for stable branches testing (<=stable/zed).
# pin tox <4 for stable branches testing (<=(stable|unmaintained)/zed).
ensure_tox_version: '<4'
nodeset: ubuntu-focal
# PDF Building is only done from stein onwards, therefore these
@ -916,11 +916,11 @@
pre-run: playbooks/tox-docs/pre.yaml
run: playbooks/tox-docs/run.yaml
branches:
- stable/victoria
- stable/wallaby
- stable/xena
- stable/yoga
- stable/zed
- ^.*/victoria
- ^.*/wallaby
- ^.*/xena
- ^.*/yoga
- ^.*/zed
- job:
name: openstack-tox-docs