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:
parent
b70a078917
commit
702037af47
@ -36,8 +36,8 @@ elif [ "$OWN_PROJECT" == "requirements-constraints" ] ; then
|
|||||||
VENV=$(readlink -f .tox/venv)
|
VENV=$(readlink -f .tox/venv)
|
||||||
$VENV/bin/pip install -e .
|
$VENV/bin/pip install -e .
|
||||||
function update {
|
function update {
|
||||||
$VENV/bin/generate-constraints -b blacklist.txt -p /usr/bin/python3.8 \
|
$VENV/bin/generate-constraints -b blacklist.txt -p /usr/bin/python3.10 \
|
||||||
-p /usr/bin/python3.9 \
|
--version-map 3.10:3.9 \
|
||||||
-r global-requirements.txt > $1/upper-constraints.txt
|
-r global-requirements.txt > $1/upper-constraints.txt
|
||||||
}
|
}
|
||||||
elif [ "$OWN_PROJECT" == "devstack-plugins-list" ] ; then
|
elif [ "$OWN_PROJECT" == "devstack-plugins-list" ] ; then
|
||||||
|
@ -4603,6 +4603,7 @@
|
|||||||
jobs:
|
jobs:
|
||||||
- propose-updates:
|
- propose-updates:
|
||||||
branches: master
|
branches: master
|
||||||
|
nodeset: ubuntu-jammy
|
||||||
vars:
|
vars:
|
||||||
update_target: requirements-constraints
|
update_target: requirements-constraints
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user