Skip to content

Commit 6605381

Browse files
authored
fix: make pdm venv create --with-pip --with uv pass correct args to uv (#3496)
`uv venv create` takes a `--seed` flag with no parameters. Fixes #3495.
1 parent 776c5b8 commit 6605381

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pdm/cli/commands/venv/backends.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def perform_create(self, location: Path, args: tuple[str, ...], prompt: str | No
173173
class UvBackend(VirtualenvBackend):
174174
def pip_args(self, with_pip: bool) -> Iterable[str]:
175175
if with_pip:
176-
return ("--seed", "pip")
176+
return ("--seed",)
177177
return ()
178178

179179
def perform_create(self, location: Path, args: tuple[str, ...], prompt: str | None = None) -> None:

0 commit comments

Comments
 (0)