-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
C: dependency resolutionAbout choosing which dependencies to installAbout choosing which dependencies to install
Description
Description
When running something like pip install -c requirements.txt <package_name> sometimes pip starts checking unnecessary versions.
I know that version checking is unnecessary because requirements.txt contains all the packages with exact versions.
Everything works as expected with legacy resolver.
Expected behaviour
Since all of the versions are already specified, just get them.
pip version
21.2.4
Python version
3.8.8
OS
Ubuntu
How to Reproduce
Unfortunately, I can't provide a reproducible example since it only happens with a package on internal pip index.
The offending package does have the version specified in requirements.txt and a different version is installed when the command is run.
Output
It says something like:
INFO: pip is looking at multiple versions of kiwisolver to determine which version is compatible with other requirements. This could take a while.
But I already have kiwisolver==1.3.1 in my requirements.txt.
Code of Conduct
- I agree to follow the PSF Code of Conduct.
Metadata
Metadata
Assignees
Labels
C: dependency resolutionAbout choosing which dependencies to installAbout choosing which dependencies to install