From 702037af47f00639a93566335029c159a5a33284 Mon Sep 17 00:00:00 2001 From: "Dr. Jens Harbott" Date: Wed, 12 Oct 2022 07:22:14 +0200 Subject: [PATCH] Switch the requirements-constraints job to py310 Since the PTI switched the supported python versions for the current cycle from 3.8+3.9 to 3.9+3.10, we want to update the constraints generation accordingly. Since we don't have a stable platform where we can run both py3.9 and py3.10 in parallel, generate constraints only for py3.10 for now. Change-Id: I4a4d9cb6e292bb693ae424be0928501fed81113f --- playbooks/proposal/propose_update.sh | 4 ++-- zuul.d/projects.yaml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/playbooks/proposal/propose_update.sh b/playbooks/proposal/propose_update.sh index 106a09f185..ae5a8d0fca 100755 --- a/playbooks/proposal/propose_update.sh +++ b/playbooks/proposal/propose_update.sh @@ -36,8 +36,8 @@ elif [ "$OWN_PROJECT" == "requirements-constraints" ] ; then VENV=$(readlink -f .tox/venv) $VENV/bin/pip install -e . function update { - $VENV/bin/generate-constraints -b blacklist.txt -p /usr/bin/python3.8 \ - -p /usr/bin/python3.9 \ + $VENV/bin/generate-constraints -b blacklist.txt -p /usr/bin/python3.10 \ + --version-map 3.10:3.9 \ -r global-requirements.txt > $1/upper-constraints.txt } elif [ "$OWN_PROJECT" == "devstack-plugins-list" ] ; then diff --git a/zuul.d/projects.yaml b/zuul.d/projects.yaml index eb6c83bb4e..de0e5617f9 100644 --- a/zuul.d/projects.yaml +++ b/zuul.d/projects.yaml @@ -4603,6 +4603,7 @@ jobs: - propose-updates: branches: master + nodeset: ubuntu-jammy vars: update_target: requirements-constraints