Don't upgrade setuptools when vendoring

Signed-off-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
This commit is contained in:
Pradyun Gedam 2020-11-28 14:48:16 +00:00
parent 8b4652efad
commit 1466e7c49a
No known key found for this signature in database
GPG Key ID: FF99710C4332258E
1 changed files with 3 additions and 0 deletions

View File

@ -168,6 +168,9 @@ def vendoring(session):
vendor_txt = Path("src/pip/_vendor/vendor.txt")
for name, old_version in pinned_requirements(vendor_txt):
if name == "setuptools":
continue
# update requirements.txt
session.run("vendoring", "update", ".", name)