[qa][all] pip 20.3 breaks jobs

Bal√°zs Gibizer balazs.gibizer at est.tech
Mon Nov 30 16:16:51 UTC 2020


Hi,

Today pip 20.3 is released[1] 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 
/opt/stack/old/neutron
2020-11-30 15:14:32.271 | Looking in indexes: 
https://mirror.gra1.ovh.opendev.org/pypi/simple, 
https://mirror.gra1.ovh.opendev.org/wheel/ubuntu-18.04-x86_64
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

Logstash signature: [2]

It seems not all the jobs are effected but at least grenade on master 
is hit [3]. It seems that passing jobs are using pip from the base 
image instead of installing a fresh one from pypi.

As a first glance the change "Flip the switch on new resolver"[4] seem 
to be related.

Cheers,
gibi

[1] https://pip.pypa.io/en/stable/news/#id1
[2] 
http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22Links%20are%20not%20allowed%20as%20constraints%5C%22
[3] 
https://zuul.opendev.org/t/openstack/builds?job_name=grenade&branch=master
[4] https://github.com/pypa/pip/pull/9019





More information about the openstack-discuss mailing list