[llvm-dev] pip issue on buildbot running on newer distro
Joachim Durchholz via llvm-dev
llvm-dev at lists.llvm.org
Fri Oct 16 17:08:33 PDT 2015
Am 16.10.2015 um 00:12 schrieb Bill Seurer via llvm-dev:
> 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.
> 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?
https://media.readthedocs.org/pdf/pip/develop/pip.pdf says that
trusted-host is available since pip 6.0 (2014-12-22).
IOW there will be problems if an older pip is in use.
Most people upgrade pip at the drop of a hat because usually pip would
continue to "just work".
IOW adding trusted-host *should* be fine, but you will want to test that.
The option can be added on the command line or in pip.conf.
(It should have been possible in requirements.txt but they forgot to
implement that; this is fixed since Sep 5, but I don't know whether that
made it into a pip release yet. See
More information about the llvm-dev