[Stable-Only] Constrain pip to < 25.3

Conflicts:
    inc/python

NOTE(stephenfin): Conflicts are due to the absence of
I74b0f93457f91e7d53d54737d52f67075088faca which we don't want to
backport.

Change-Id: I221a03b2f8314fee66672c23d7ece4eb900c038c
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
(cherry picked from commit e20d092cba)
This commit is contained in:
Stephen Finucane
2025-10-28 11:24:25 +00:00
parent bea1b15527
commit 978a231b10

View File

@@ -41,7 +41,14 @@ function setup_devstack_virtualenv {
# This package is currently installed via the distro and not
# available on pypi.
$PYTHON -m venv --system-site-packages "${DEVSTACK_VENV}"
pip_install -U pip setuptools[core]
# NOTE(stephenfin): stable-only change to prevent us pulling in newer
# versions of pip which removed support for legacy editable installs
# [1]. Some services on this stable branch still hadn't migrated to
# module-based configuration [2]. This is not an issue since 2025.2.
#
# [1] https://pip.pypa.io/en/stable/news/#v25-3
# [2] https://review.opendev.org/c/openstack/governance/+/902807
pip_install -U 'pip<25.3' setuptools[core]
#NOTE(rpittau): workaround for simplejson removal in osc
# https://review.opendev.org/c/openstack/python-openstackclient/+/920001
pip_install -U simplejson