Commit 77942c4
authored
🐛 fix(venv): seed pip into hook environments (#114)
uv venv does not install pip by default, unlike python -m venv. Hooks
like mypy that internally call `python -m pip install` to fetch type
stubs fail with "No module named pip" in the created environment.
Passing --seed to uv venv restores pip/setuptools availability,
matching standard venv behavior and fixing hooks that depend on pip
at runtime.
Fixes #611 parent 47cf4d0 commit 77942c4
2 files changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
71 | 86 | | |
72 | 87 | | |
73 | 88 | | |
| |||
0 commit comments