From 4ba4e21419b011e28f7343af2f002dd5ee3ec3b1 Mon Sep 17 00:00:00 2001 From: Xavier Fernandez Date: Fri, 30 Oct 2020 22:29:25 +0100 Subject: [PATCH] Explicitly state that pip/_vendor/vendor.txt should be available --- news/8327.vendor.rst | 2 ++ src/pip/_vendor/README.rst | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 news/8327.vendor.rst diff --git a/news/8327.vendor.rst b/news/8327.vendor.rst new file mode 100644 index 000000000..7b4536ae2 --- /dev/null +++ b/news/8327.vendor.rst @@ -0,0 +1,2 @@ +Fix devendoring instructions to explicitly state that ``vendor.txt`` should not be removed. +It is mandatory for ``pip debug`` command. diff --git a/src/pip/_vendor/README.rst b/src/pip/_vendor/README.rst index 1fd0d4394..6699d72c2 100644 --- a/src/pip/_vendor/README.rst +++ b/src/pip/_vendor/README.rst @@ -132,7 +132,7 @@ semi-supported method (that we don't test in our CI) and requires a bit of extra work on your end in order to solve the problems described above. 1. Delete everything in ``pip/_vendor/`` **except** for - ``pip/_vendor/__init__.py``. + ``pip/_vendor/__init__.py`` and ``pip/_vendor/vendor.txt``. 2. Generate wheels for each of pip's dependencies (and any of their dependencies) using your patched copies of these libraries. These must be placed somewhere on the filesystem that pip can access (``pip/_vendor`` is