We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3f29412 + 65a20a0 commit 954541aCopy full SHA for 954541a
Taskfile.yml
@@ -384,9 +384,6 @@ tasks:
384
poetry:install:
385
desc: Install Poetry
386
run: once
387
- vars:
388
- PYTHON_PATH:
389
- sh: task utility:normalize-path RAW_PATH="$(which python)"
390
cmds:
391
- |
392
if ! which pipx &>/dev/null; then
@@ -401,8 +398,12 @@ tasks:
401
398
exit 1
402
399
fi
403
400
+ export PIPX_DEFAULT_PYTHON="$( \
+ task utility:normalize-path \
+ RAW_PATH="$(which python)" \
404
+ )"
405
pipx install \
- --python "{{.PYTHON_PATH}}" \
406
+ --force \
407
"poetry==$( \
408
yq \
409
--input-format toml \
@@ -429,8 +430,7 @@ tasks:
429
430
431
432
poetry lock \
- --no-cache \
433
- --no-update
+ --no-cache
434
435
poetry:validate:
436
desc: Validate pyproject.toml
0 commit comments