D5823: tests: add optional Python 2.7 deprecation output
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Mon Feb 4 18:35:28 EST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG14983ac4a764: tests: add optional Python 2.7 deprecation output (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5823?vs=13750&id=13775
REVISION DETAIL
https://phab.mercurial-scm.org/D5823
AFFECTED FILES
tests/test-install.t
CHANGE DETAILS
diff --git a/tests/test-install.t b/tests/test-install.t
--- a/tests/test-install.t
+++ b/tests/test-install.t
@@ -238,6 +238,7 @@
the default for them.
$ unset PYTHONPATH
$ "$PYTHON" -m virtualenv --no-site-packages --never-download installenv >> pip.log
+ DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. (?)
Note: we use this weird path to run pip and hg to avoid platform differences,
since it's bin on most platforms but Scripts on Windows.
$ ./installenv/*/pip install --no-index $TESTDIR/.. >> pip.log
To: indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list