changeset 51697:4f4f65c67729

test-install: add new glob for the upgrade notice in newer versions of pip We only globbed for the old warning, newer versions of pip use a cleaner one.
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 22 Jul 2024 14:19:12 +0200
parents 6aa74bcd4255
children 8f0b0df79039
files tests/test-install.t
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-install.t	Thu Jul 18 15:48:05 2024 +0200
+++ b/tests/test-install.t	Mon Jul 22 14:19:12 2024 +0200
@@ -216,6 +216,9 @@
     Failed building wheel for mercurial (?)
   WARNING: You are using pip version *; however, version * is available. (glob) (?)
   You should consider upgrading via the '$TESTTMP/installenv/bin/python* -m pip install --upgrade pip' command. (glob) (?)
+   (?)
+  [notice] A new release of pip is available: * -> * (glob) (?)
+  [notice] To update, run: python -m pip install --upgrade pip (?)
   $ ./installenv/*/hg debuginstall || cat pip.log
   checking encoding (ascii)...
   checking Python executable (*) (glob)