Skip to content

Commit

Permalink
Switch to uv for vendoring.
Browse files Browse the repository at this point in the history
More durable workaround for pypa/pip#12770. Ref #4492.
  • Loading branch information
jaraco committed Jul 21, 2024
1 parent 3fca249 commit 022cedb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
9 changes: 1 addition & 8 deletions tools/vendored.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import functools
import re
import sys
import subprocess

import jaraco.packaging.metadata
Expand Down Expand Up @@ -52,14 +51,8 @@ def install_deps(deps, vendor):
"""
Install the deps to vendor.
"""
# workaround for https://github.com/pypa/pip/issues/12770
deps += [
'zipp >= 3.7',
'backports.tarfile',
]
install_args = [
sys.executable,
'-m',
'uv',
'pip',
'install',
'--target',
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ deps =
jaraco.packaging
# workaround for pypa/pyproject-hooks#192
pyproject-hooks<1.1
uv
commands =
vendor: python -m tools.vendored

Expand Down

0 comments on commit 022cedb

Please sign in to comment.