Patchwork D6203: tests: add optional output for Python 2.7 deprecation

login
register
mail settings
Submitter phabricator
Date April 5, 2019, 11:57 a.m.
Message ID <eb36adda92631eed5bd03d850c20c39e@localhost.localdomain>
Download mbox | patch
Permalink /patch/39495/
State Not Applicable
Headers show

Comments

phabricator - April 5, 2019, 11:57 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG65ed223619ec: tests: add optional output for Python 2.7 deprecation (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6203?vs=14662&id=14668

REVISION DETAIL
  https://phab.mercurial-scm.org/D6203

AFFECTED FILES
  tests/test-install.t

CHANGE DETAILS




To: indygreg, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

diff --git a/tests/test-install.t b/tests/test-install.t
--- a/tests/test-install.t
+++ b/tests/test-install.t
@@ -242,6 +242,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
+  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. (?)
   $ ./installenv/*/hg debuginstall || cat pip.log
   checking encoding (ascii)...
   checking Python executable (*) (glob)