[llvm-dev] pip issue on buildbot running on newer distro

Bill Seurer via llvm-dev llvm-dev at lists.llvm.org
Thu Oct 15 15:12:51 PDT 2015


I just moved the ppc64le lnt buildbot to a new machine whose distro has 
a later release of pip than was on the old machine.  The later release 
requires the use of https or the --trusted-host option or it generates 
an error.

pip is used in the venv.lnt.install step like this:

/some-long-path/lnt.venv/bin/pip install --no-index --find-links 
http://lab.llvm.org/packages -e .


On the old machine:

Collecting WTForms (from LNT==0.4.1.dev0)
   This repository located at lab.llvm.org is not a trusted host, if 
this repository is available via HTTPS it is recommend to use HTTPS 
instead, otherwise you may silence this warning with '--trusted-host 
lab.llvm.org'.
   DEPRECATION: Implicitly allowing locations which are not hosted at a 
secure origin is deprecated and will require the use of --trusted-host 
in the future.


On the new machine:

Collecting WTForms (from LNT==0.4.1.dev0)
   The repository located at lab.llvm.org is not a trusted or secure 
host and is being ignored. If this repository is available via HTTPS it 
is recommended to use HTTPS instead, otherwise you may silence this 
warning and allow it anyways with '--trusted-host lab.llvm.org'.
   Could not find a version that satisfies the requirement WTForms (from 
LNT==0.4.1.dev0) (from versions: )
No matching distribution found for WTForms (from LNT==0.4.1.dev0)
program finished with exit code 1


If the LNTBuilder code is updated to fix this problem is this going to 
cause a problem for bots running with older versions of pip?
-- 

-Bill Seurer



More information about the llvm-dev mailing list