Skip to content

Commit

Permalink
Don't upgrade setuptools when vendoring
Browse files Browse the repository at this point in the history
Signed-off-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
  • Loading branch information
pradyunsg committed Nov 28, 2020
1 parent 8b4652e commit 1466e7c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ def pinned_requirements(path):

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)

Expand Down

0 comments on commit 1466e7c

Please sign in to comment.