Skip to content

Commit

Permalink
Merge pull request #341 from arduino/dependabot/pip/poetry-2.0.0
Browse files Browse the repository at this point in the history
build(deps-dev): bump poetry from 1.8.5 to 2.0.0
  • Loading branch information
per1234 authored Jan 7, 2025
2 parents 3f29412 + 65a20a0 commit 954541a
Show file tree
Hide file tree
Showing 3 changed files with 194 additions and 144 deletions.
12 changes: 6 additions & 6 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -384,9 +384,6 @@ tasks:
poetry:install:
desc: Install Poetry
run: once
vars:
PYTHON_PATH:
sh: task utility:normalize-path RAW_PATH="$(which python)"
cmds:
- |
if ! which pipx &>/dev/null; then
Expand All @@ -401,8 +398,12 @@ tasks:
exit 1
fi
- |
export PIPX_DEFAULT_PYTHON="$( \
task utility:normalize-path \
RAW_PATH="$(which python)" \
)"
pipx install \
--python "{{.PYTHON_PATH}}" \
--force \
"poetry==$( \
yq \
--input-format toml \
Expand All @@ -429,8 +430,7 @@ tasks:
cmds:
- |
poetry lock \
--no-cache \
--no-update
--no-cache
poetry:validate:
desc: Validate pyproject.toml
Expand Down
Loading

0 comments on commit 954541a

Please sign in to comment.