Skip to content

Commit 022cedb

Browse files
committed
Switch to uv for vendoring.
More durable workaround for pypa/pip#12770. Ref #4492.
1 parent 3fca249 commit 022cedb

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

tools/vendored.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import functools
22
import re
3-
import sys
43
import subprocess
54

65
import jaraco.packaging.metadata
@@ -52,14 +51,8 @@ def install_deps(deps, vendor):
5251
"""
5352
Install the deps to vendor.
5453
"""
55-
# workaround for https://github.com/pypa/pip/issues/12770
56-
deps += [
57-
'zipp >= 3.7',
58-
'backports.tarfile',
59-
]
6054
install_args = [
61-
sys.executable,
62-
'-m',
55+
'uv',
6356
'pip',
6457
'install',
6558
'--target',

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ deps =
7777
jaraco.packaging
7878
# workaround for pypa/pyproject-hooks#192
7979
pyproject-hooks<1.1
80+
uv
8081
commands =
8182
vendor: python -m tools.vendored
8283

0 commit comments

Comments
 (0)