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
No related branches found
No related tags found
No related merge requests found
...@@ -747,14 +747,17 @@ variables: ...@@ -747,14 +747,17 @@ variables:
} }
function _pip() { function _pip() {
cmd=$1
shift
if [[ "$PYTHON_BUILD_SYSTEM" =~ ^uv ]] if [[ "$PYTHON_BUILD_SYSTEM" =~ ^uv ]]
then then
maybe_install_uv maybe_install_uv
# shellcheck disable=SC2086 # shellcheck disable=SC2086
uv pip ${PIP_OPTS} "$@" uv pip "$cmd" ${PIP_OPTS} "$@"
else else
# shellcheck disable=SC2086 # shellcheck disable=SC2086
_run pip ${PIP_OPTS} "$@" _run pip "$cmd" ${PIP_OPTS} "$@"
fi fi
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment