changeset 51709:57f0b86611c7

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 3131445a831b
children 8fe7c0e1df1e
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 13:36:32 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)