Skip to content

Commit 4c63ffd

Browse files
committed
Warn about reject-unconstrained
1 parent 4a26b5e commit 4c63ffd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/how-to-freeze-versions.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,11 @@ Ensuring everything is frozen
237237
able to find a different version for any of them, the ``.freeze`` file
238238
cannot change and, at that point when every dependency is frozen, ``cabal
239239
freeze`` becomes an idempotent operation.
240+
241+
.. Warning::
242+
Setting :cfg-field:`reject-unconstrained-dependencies` to ``all`` will
243+
ensure that dependencies have version constraints but does not require these
244+
be equality constraints.
240245

241246
Adding a dependency to one of the packages in a project without freezing harder
242247
leaves the newly added dependency susceptible to getting updated unexpectedly

0 commit comments

Comments
 (0)