Upgrade pip using pip.exe raises an error if the requirement already satisfied #6924
Labels
auto-locked
Outdated issues that have been locked by automation
state: awaiting PR
Feature discussed, PR is needed
type: bug
A confirmed bug or unintended behavior
Environment
Description
Currently modifying pip on Windows using
pip.exe
raises an error and suggests to upgrade it using module invocationpython -m pip install ...
:But if the requirement is already satisfied or up-to-date it still raises the same error:
Expected behavior
The command shouldn't raise the error if the requirement is up-to-date:
How to Reproduce
pip install pip
Output
Additional context
This issue came out of the discussion in PR #6864 (comment).
The text was updated successfully, but these errors were encountered: