ResolutionImpossible wrong message if package doesn't exist #11569
Labels
C: constraint
Dealing with "constraints" (the -c option)
C: dependency resolution
About choosing which dependencies to install
C: error messages
Improving error messages
type: enhancement
Improvements to functionality
Description
I have a requirements.txt file with moto==4.0.9 and constraints file with responses==0.23.0.
When I try to install with
pip install -r <req> -c <constraints>
, it leads to:The reason for that being that the responses==0.23.0 doesn't exist. The latest is currently 0.22.0.
Expected behavior
I would expect pip to just tell me the package doesn't exist.
pip version
22.0.4 (Happens on latest version too)
Python version
3.7.12
OS
Macbook M1 Pro (Happens on Linux too)
Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: