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:
384
384
poetry:install :
385
385
desc : Install Poetry
386
386
run : once
387
- vars :
388
- PYTHON_PATH :
389
- sh : task utility:normalize-path RAW_PATH="$(which python)"
390
387
cmds :
391
388
- |
392
389
if ! which pipx &>/dev/null; then
@@ -401,8 +398,12 @@ tasks:
401
398
exit 1
402
399
fi
403
400
- |
401
+ export PIPX_DEFAULT_PYTHON="$( \
402
+ task utility:normalize-path \
403
+ RAW_PATH="$(which python)" \
404
+ )"
404
405
pipx install \
405
- --python "{{.PYTHON_PATH}}" \
406
+ --force \
406
407
"poetry==$( \
407
408
yq \
408
409
--input-format toml \
@@ -429,8 +430,7 @@ tasks:
429
430
cmds :
430
431
- |
431
432
poetry lock \
432
- --no-cache \
433
- --no-update
433
+ --no-cache
434
434
435
435
poetry:validate :
436
436
desc : Validate pyproject.toml
You can’t perform that action at this time.
0 commit comments