Docs: add item about constraints files

This commit is contained in:
Sumana Harihareswara 2020-06-24 00:35:57 -04:00
parent d51fd4799c
commit d8d6da6985
1 changed files with 7 additions and 0 deletions

View File

@ -1064,6 +1064,12 @@ incompatible or inconsistent requirements combinations, now's a good
time to fix the underlying problem in the packages, because pip will time to fix the underlying problem in the packages, because pip will
be stricter from here on out. be stricter from here on out.
We are also changing our support for :ref:`Constraints Files` :
* Unnamed requirements are not allowed as constraints
* Links are not allowed as constraints
* Constraints cannot have extras
How to test How to test
----------- -----------
@ -1089,6 +1095,7 @@ How to test
- installing several packages simultaneously - installing several packages simultaneously
- re-creating an environment using a ``requirements.txt`` file - re-creating an environment using a ``requirements.txt`` file
- using ``pip --force-reinstall`` to check whether it does what you think it should - using ``pip --force-reinstall`` to check whether it does what you think it should
- using constraints files
- If you have a build pipeline that depends on pip installing your - If you have a build pipeline that depends on pip installing your
dependencies for you, check that the new resolver does what you dependencies for you, check that the new resolver does what you
need. need.