Show More
@@ -236,20 +236,53 b' Verify the json works too:' | |||
|
236 | 236 | |
|
237 | 237 | #endif |
|
238 | 238 | |
|
239 | #if virtualenv | |
|
240 | ||
|
241 | 239 | Verify that Mercurial is installable with pip. Note that this MUST be |
|
242 | 240 | the last test in this file, because we do some nasty things to the |
|
243 | 241 | shell environment in order to make the virtualenv work reliably. |
|
244 | 242 | |
|
243 | On Python 3, we use the venv module, which is part of the standard library. | |
|
244 | On Python 2, we use the 3rd party virtualenv module, if available. | |
|
245 | ||
|
245 | 246 | $ cd $TESTTMP |
|
247 | $ unset PYTHONPATH | |
|
248 | ||
|
249 | #if py3 | |
|
250 | $ "$PYTHON" -m venv installenv >> pip.log | |
|
251 | ||
|
252 | Note: we use this weird path to run pip and hg to avoid platform differences, | |
|
253 | since it's bin on most platforms but Scripts on Windows. | |
|
254 | $ ./installenv/*/pip install --no-index $TESTDIR/.. >> pip.log | |
|
255 | $ ./installenv/*/hg debuginstall || cat pip.log | |
|
256 | checking encoding (ascii)... | |
|
257 | checking Python executable (*) (glob) | |
|
258 | checking Python version (3.*) (glob) | |
|
259 | checking Python lib (*)... (glob) | |
|
260 | checking Python security support (*) (glob) | |
|
261 | checking Mercurial version (*) (glob) | |
|
262 | checking Mercurial custom build (*) (glob) | |
|
263 | checking module policy (*) (glob) | |
|
264 | checking installed modules (*/mercurial)... (glob) | |
|
265 | checking registered compression engines (*) (glob) | |
|
266 | checking available compression engines (*) (glob) | |
|
267 | checking available compression engines for wire protocol (*) (glob) | |
|
268 | checking "re2" regexp engine \((available|missing)\) (re) | |
|
269 | checking templates ($TESTTMP/installenv/*/site-packages/mercurial/templates)... (glob) | |
|
270 | checking default template ($TESTTMP/installenv/*/site-packages/mercurial/templates/map-cmdline.default) (glob) | |
|
271 | checking commit editor... (*) (glob) | |
|
272 | checking username (test) | |
|
273 | no problems detected | |
|
274 | #endif | |
|
275 | ||
|
276 | #if no-py3 virtualenv | |
|
277 | ||
|
246 | 278 | Note: --no-site-packages is deprecated, but some places have an |
|
247 | 279 |
|
|
248 | 280 | the default for them. |
|
249 | $ unset PYTHONPATH | |
|
281 | ||
|
250 | 282 | $ "$PYTHON" -m virtualenv --no-site-packages --never-download installenv >> pip.log |
|
251 | 283 |
DEPRECATION: |
|
252 | 284 |
DEPRECATION: Python 2.7 |
|
285 | ||
|
253 | 286 | Note: we use this weird path to run pip and hg to avoid platform differences, |
|
254 | 287 | since it's bin on most platforms but Scripts on Windows. |
|
255 | 288 | $ ./installenv/*/pip install --no-index $TESTDIR/.. >> pip.log |
@@ -258,8 +291,7 b" since it's bin on most platforms but Scr" | |||
|
258 | 291 | $ ./installenv/*/hg debuginstall || cat pip.log |
|
259 | 292 | checking encoding (ascii)... |
|
260 | 293 | checking Python executable (*) (glob) |
|
261 |
checking Python version (2.*) (glob) |
|
|
262 | checking Python version (3.*) (glob) (py3 !) | |
|
294 | checking Python version (2.*) (glob) | |
|
263 | 295 | checking Python lib (*)... (glob) |
|
264 | 296 | checking Python security support (*) (glob) |
|
265 | 297 | TLS 1.2 not supported by Python install; network connections lack modern security (?) |
General Comments 0
You need to be logged in to leave comments.
Login now