Skip to content

Commit 758a172

Browse files
authored
docs: add note to explain pip freeze --all (#13563)
1 parent e1c021d commit 758a172

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/html/cli/pip_freeze.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@ Description
2323

2424
.. pip-command-description:: freeze
2525

26+
.. note::
27+
By default, ``pip freeze`` omits bootstrap packaging tools so the output
28+
focuses on your project’s dependencies. On Python **3.11 and earlier**
29+
this excludes ``pip``, ``setuptools``, ``wheel`` and ``distribute``; on
30+
Python **3.12 and later** only ``pip`` is excluded. Use ``--all`` to
31+
include those packages when you need a complete environment snapshot.
32+
``pip freeze`` reports what is installed; it does **not** compute a
33+
lockfile or a solver result.
34+
2635

2736
Options
2837
=======

0 commit comments

Comments
 (0)