Skip to content

Commit 954541a

Browse files
authored
Merge pull request #341 from arduino/dependabot/pip/poetry-2.0.0
build(deps-dev): bump poetry from 1.8.5 to 2.0.0
2 parents 3f29412 + 65a20a0 commit 954541a

File tree

3 files changed

+194
-144
lines changed

3 files changed

+194
-144
lines changed

Taskfile.yml

+6-6
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)