Mercurial > hg
comparison tests/test-install.t @ 32954:b5305a499dfc
tests: tell pip not to check for a newer version
pip will check to see if it's the latest version, and complain if it isn't.
The --no-index flag implies the --disable-pip-version-check flag, and makes
the warning (and any associated network activity) go away.
author | Danek Duvall <danek.duvall@oracle.com> |
---|---|
date | Tue, 20 Jun 2017 14:35:53 -0700 |
parents | 404b6acfa192 |
children | 6c113a7dec52 |
comparison
equal
deleted
inserted
replaced
32953:6d79e9109908 | 32954:b5305a499dfc |
---|---|
186 the default for them. | 186 the default for them. |
187 $ unset PYTHONPATH | 187 $ unset PYTHONPATH |
188 $ $PYTHON -m virtualenv --no-site-packages --never-download installenv >> pip.log | 188 $ $PYTHON -m virtualenv --no-site-packages --never-download installenv >> pip.log |
189 Note: we use this weird path to run pip and hg to avoid platform differences, | 189 Note: we use this weird path to run pip and hg to avoid platform differences, |
190 since it's bin on most platforms but Scripts on Windows. | 190 since it's bin on most platforms but Scripts on Windows. |
191 $ ./installenv/*/pip install $TESTDIR/.. >> pip.log | 191 $ ./installenv/*/pip install --no-index $TESTDIR/.. >> pip.log |
192 $ ./installenv/*/hg debuginstall || cat pip.log | 192 $ ./installenv/*/hg debuginstall || cat pip.log |
193 checking encoding (ascii)... | 193 checking encoding (ascii)... |
194 checking Python executable (*) (glob) | 194 checking Python executable (*) (glob) |
195 checking Python version (2.*) (glob) | 195 checking Python version (2.*) (glob) |
196 checking Python lib (*)... (glob) | 196 checking Python lib (*)... (glob) |