Skip to content

Commit

Permalink
Merge pull request #11287 from q0w/upgrade-stderr
Browse files Browse the repository at this point in the history
Send the pip upgrade prompt to stderr
  • Loading branch information
pfmoore authored Jul 22, 2022
2 parents a3c8bb6 + 52af2ea commit 0d4e9eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions news/11282.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Send the pip upgrade prompt to stderr.
2 changes: 1 addition & 1 deletion src/pip/_internal/self_outdated_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def pip_self_version_check(session: PipSession, options: optparse.Values) -> Non
),
)
if upgrade_prompt is not None:
logger.info("[present-rich] %s", upgrade_prompt)
logger.warning("[present-rich] %s", upgrade_prompt)
except Exception:
logger.warning("There was an error checking the latest version of pip.")
logger.debug("See below for error", exc_info=True)

0 comments on commit 0d4e9eb

Please sign in to comment.