Skip to content

Commit

Permalink
Improve docs on resolver, constraints, and hash-checking
Browse files Browse the repository at this point in the history
Related to pypa#9020.
  • Loading branch information
brainwane committed Oct 27, 2020
1 parent cab055d commit 8445007
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/html/user_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1435,7 +1435,15 @@ install x y`` in a single command. We would like your thoughts on what
pip's behavior should be; please answer `our survey on upgrades that
create conflicts`_.

We are also changing our support for :ref:`Constraints Files`:
We are also changing our support for :ref:`Constraints Files` and related functionality:

* Constraints don't override the existing requirements; they simply
constrain what versions are visible as input to the resolver (see
:issue:`9020`)

* Hash-checking mode requires that all requirements are specified as a
`==` match on a version and may not work well in combination with
constraints (see :issue:`9020`)

* Unnamed requirements are not allowed as constraints (see :issue:`6628` and :issue:`8210`)
* Links are not allowed as constraints (see :issue:`8253`)
Expand Down
1 change: 1 addition & 0 deletions news/9056.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Improve migration guide to reflect changes in new resolver behavior.

0 comments on commit 8445007

Please sign in to comment.