Skip to content

Commit b4939be

Browse files
committed
Document command to upgrade vendored libraries
1 parent d8b4cd8 commit b4939be

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/pip/_vendor/README.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,16 @@ Vendoring is automated via the `vendoring <https://pypi.org/project/vendoring/>`
115115
Launch it via ``vendoring sync . -v`` (requires ``vendoring>=0.2.2``).
116116
Tool configuration is done via ``pyproject.toml``.
117117

118+
To update the vendored library versions, we have a session defined in ``nox``.
119+
The command to upgrade everything is::
120+
121+
nox -s vendoring -- --upgrade-all --skip urllib3 --skip setuptools
122+
123+
At the time of writing (April 2025) we do not upgrade ``urllib3`` because the
124+
next version is a major upgrade and will be handled as an independent PR. We also
125+
do not upgrade ``setuptools``, because we only rely on ``pkg_resources``, and
126+
tracking every ``setuptools`` change is unnecessary for our needs.
127+
118128

119129
Managing Local Patches
120130
======================

0 commit comments

Comments
 (0)