Skip to content

Commit f1f94ba

Browse files
EricCousineau-TRIuranusjr
authored andcommitted
try to encode more deets
1 parent 9f73611 commit f1f94ba

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

docs/html/development/architecture/upgrade-options.rst

+9-4
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,15 @@ what *other* packages can be upgraded:
4444
pip command or a requirement file (i.e, they are direct requirements), or
4545
an upgraded parent needs a later version of the dependency than is
4646
currently installed.
47-
* ``to-satisfy-only`` (**undocumented**) - packages are not upgraded (not
48-
even direct requirements) unless the currently installed version fails to
49-
satisfy a requirement (either explicitly specified or a dependency). This
50-
is actually the "default" strategy when ``--upgrade`` is not set.
47+
* ``to-satisfy-only`` (**undocumented, please avoid**) - packages are not
48+
upgraded (not even direct requirements) unless the currently installed
49+
version fails to satisfy a requirement (either explicitly specified or a
50+
dependency).
51+
52+
* This is actually the "default" upgrade strategy when ``--upgrade`` is
53+
*not set*, i.e. ``pip install AlreadyInstalled`` and
54+
``pip install --upgrade --upgrade-strategy=to-satisfy-only AlreadyInstalled``
55+
yield the same behavior.
5156

5257
``--force-reinstall``
5358

0 commit comments

Comments
 (0)