Skip to content

Commit a1fd4b8

Browse files
committed
Add version constraints and exceptions
1 parent 61875ae commit a1fd4b8

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

doc/how-to-freeze-versions.rst

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ Frozen versions
2525
to preserve a set of versions found by the solver, a solver-curated set, if
2626
you will.
2727

28+
Version exceptions
29+
Allow newer or older dependencies.
30+
2831
Version ranges
2932
--------------
3033

@@ -50,10 +53,18 @@ package dependency version ranges up to date. Ways of overcoming this are:
5053
Version constraints
5154
-------------------
5255

56+
Version constraints can be applied to the project or command line.
57+
58+
.. Note::
59+
60+
While they do not directly restrain dependency versions, flag constraints
61+
can alter the set of dependencies of a package.
62+
5363
.. Warning::
5464

55-
Constraints are additive. If I add a constraint it doesn't remove or replace
56-
prior constraints on versions. Constraints don't have override semantics.
65+
Version constraints are additive. If I add a constraint it doesn't remove or
66+
replace prior constraints on versions. Constraints don't have override
67+
semantics.
5768

5869
Curated version sets
5970
--------------------

0 commit comments

Comments
 (0)