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
This commit is contained in:
Dr. Jens Harbott 2022-10-12 07:22:14 +02:00 committed by Tony Breeds
parent b70a078917
commit 702037af47
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -4603,6 +4603,7 @@
jobs:
- propose-updates:
branches: master
nodeset: ubuntu-jammy
vars:
update_target: requirements-constraints