[qa][all] pip 20.3 breaks jobs
gmann at ghanshyammann.com
Tue Dec 1 02:11:34 UTC 2020
---- On Mon, 30 Nov 2020 10:43:47 -0600 Neil Jerram <neil at tigera.io> wrote ----
> On Mon, Nov 30, 2020 at 4:18 PM Balázs Gibizer <balazs.gibizer at est.tech> wrote:
> Today pip 20.3 is released and jobs started failing during keystone
> install in devstack with:
> 2020-11-30 15:14:31.117 | + inc/python:pip_install:193 :
> sudo -H LC_ALL=en_US.UTF-8 SETUPTOOLS_USE_DISTUTILS=stdlib http_proxy=
> https_proxy= no_proxy= PIP_FIND_LINKS=
> SETUPTOOLS_SYS_PATH_TECHNIQUE=rewrite python3.6 -m pip install -c
> /opt/stack/old/requirements/upper-constraints.txt -e
> 2020-11-30 15:14:32.271 | Looking in indexes:
> 2020-11-30 15:14:32.272 | DEPRECATION: Constraints are only allowed to
> take the form of a package name and a version specifier. Other forms
> were originally permitted as an accident of the implementation, but
> were undocumented. The new implementation of the resolver no longer
> supports these forms. A possible replacement is replacing the
> constraint with a requirement.. You can find discussion regarding this
> at https://github.com/pypa/pip/issues/8210.
> 2020-11-30 15:14:32.272 | ERROR: Links are not allowed as constraints
> Ah, snap! I just started another thread about this; sorry for not seeing your thread first.
As a workaround to unblock the gate, Elod proposed to cap the pip in devstack for now as we
are not sure of how to fix and how much work needed and I agree with that step.
Due to grenade jobs failure, we need to apply this workaround on all stable branches until Stable/ussuri.
Stable/train and lower branches are already capped with pip10.
These are the patches proposed:
Also, I filled a bug in devstack to track this further:
More information about the openstack-discuss