Skip to content

Commit e8e377c

Browse files
committed
Correct --python option to uv pip compile, which is NOT -p like the other subcommands
1 parent 9a49dd1 commit e8e377c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zpy.plugin.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ ZPY_PROCS=${${$(nproc 2>/dev/null):-$(sysctl -n hw.logicalcpu 2>/dev/null)}:-4}
543543

544544
local badrets
545545
if (( $+commands[uv] )) {
546-
pipcompile_args=(-p python ${pipcompile_args:#--(allow-unsafe|strip-extras)})
546+
pipcompile_args=(--python python ${pipcompile_args:#--(allow-unsafe|strip-extras)})
547547
uv pip compile $pipcompile_args 2>&1
548548
} else {
549549
pip-compile $pipcompile_args 2>&1 \

0 commit comments

Comments
 (0)