File tree Expand file tree Collapse file tree 3 files changed +194
-144
lines changed Expand file tree Collapse file tree 3 files changed +194
-144
lines changed Original file line number Diff line number Diff line change @@ -384,9 +384,6 @@ tasks:
384384 poetry:install :
385385 desc : Install Poetry
386386 run : once
387- vars :
388- PYTHON_PATH :
389- sh : task utility:normalize-path RAW_PATH="$(which python)"
390387 cmds :
391388 - |
392389 if ! which pipx &>/dev/null; then
@@ -401,8 +398,12 @@ tasks:
401398 exit 1
402399 fi
403400 - |
401+ export PIPX_DEFAULT_PYTHON="$( \
402+ task utility:normalize-path \
403+ RAW_PATH="$(which python)" \
404+ )"
404405 pipx install \
405- --python "{{.PYTHON_PATH}}" \
406+ --force \
406407 "poetry==$( \
407408 yq \
408409 --input-format toml \
@@ -429,8 +430,7 @@ tasks:
429430 cmds :
430431 - |
431432 poetry lock \
432- --no-cache \
433- --no-update
433+ --no-cache
434434
435435 poetry:validate :
436436 desc : Validate pyproject.toml
You can’t perform that action at this time.
0 commit comments