Skip to content
Snippets Groups Projects
Commit 07a40b3a authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

Merge branch 'fix/pip_opts' into 'master'

fix: change _pip to pass cmd then PIP_OPTS

Closes #104

See merge request to-be-continuous/python!142
parents c8185952 c1b277e3
Branches
Tags
No related merge requests found
......@@ -747,14 +747,17 @@ variables:
}
function _pip() {
cmd=$1
shift
if [[ "$PYTHON_BUILD_SYSTEM" =~ ^uv ]]
then
maybe_install_uv
# shellcheck disable=SC2086
uv pip ${PIP_OPTS} "$@"
uv pip "$cmd" ${PIP_OPTS} "$@"
else
# shellcheck disable=SC2086
_run pip ${PIP_OPTS} "$@"
_run pip "$cmd" ${PIP_OPTS} "$@"
fi
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment