Skip to content

Commit 5393032

Browse files
committed
Improve docs on resolver, constraints, and hash-checking
Related to pypa#9020.
1 parent b7c3503 commit 5393032

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

docs/html/user_guide.rst

+9-1
Original file line numberDiff line numberDiff line change
@@ -1446,7 +1446,15 @@ install x y`` in a single command. We would like your thoughts on what
14461446
pip's behavior should be; please answer `our survey on upgrades that
14471447
create conflicts`_.
14481448

1449-
We are also changing our support for :ref:`Constraints Files`:
1449+
We are also changing our support for :ref:`Constraints Files` and related functionality:
1450+
1451+
* Constraints don't override the existing requirements; they simply
1452+
constrain what versions are visible as input to the resolver (see
1453+
:issue:`9020`)
1454+
1455+
* Hash-checking mode requires that all requirements are specified as a
1456+
`==` match on a version and may not work well in combination with
1457+
constraints (see :issue:`9020`)
14501458

14511459
* Unnamed requirements are not allowed as constraints (see :issue:`6628` and :issue:`8210`)
14521460
* Links are not allowed as constraints (see :issue:`8253`)

news/9056.doc.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Improve migration guide to reflect changes in new resolver behavior.

0 commit comments

Comments
 (0)