Constraints override pinned requifrements
Closed this issue · 2 comments
jazzblue commented
Environment
- pip version: 19.1.1
- Python version: PyPy 7.0.0
- OS: OS X
Description and How to Reproduce
constraints. txt:
urllib3>1.23
requirements.txt:
urllib3==1.24.3
When I run:
pip install -c constraints.txt -r requirements.txt
It installs:
Successfully installed urllib3-1.25.2
This means that the pinned requirement urllib3==1.24.3
is ignored and is not what is expected.
Expected behavior
Should install urllib3==1.24.3
not 1.25.2
.
xavfernandez commented
I'd say this is an other duplicate of #988.