From 8f926d334c3cbcb04802631982a44dca354f4244 Mon Sep 17 00:00:00 2001 From: per1234 Date: Fri, 12 Sep 2025 07:31:01 -0700 Subject: [PATCH] Remove `poetry:update-deps` task This task updates all the project's Python package dependencies to the latest version. Performing bulk updates is not a good practice, since it is non-atomic and thus makes it difficult to bisect regressions caused by the update. In addition, it is not necessary since dependencies are now updated using Dependabot. For these reasons, the task is harmful and superfluous. --- Taskfile.yml | 8 -------- workflow-templates/assets/poetry-task/Taskfile.yml | 8 -------- 2 files changed, 16 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 50b935aa..6c54c8f8 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -1046,14 +1046,6 @@ tasks: poetry lock \ --no-cache - # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/poetry-task/Taskfile.yml - poetry:update-deps: - desc: Update all dependencies managed by Poetry to their newest versions - deps: - - task: poetry:install - cmds: - - poetry update - # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-poetry-task/Taskfile.yml poetry:validate: desc: Validate Poetry configuration diff --git a/workflow-templates/assets/poetry-task/Taskfile.yml b/workflow-templates/assets/poetry-task/Taskfile.yml index c856d798..8afeda1a 100644 --- a/workflow-templates/assets/poetry-task/Taskfile.yml +++ b/workflow-templates/assets/poetry-task/Taskfile.yml @@ -76,11 +76,3 @@ tasks: - | poetry install \ {{if .POETRY_GROUPS}} --only {{.POETRY_GROUPS}} {{end}} - - # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/poetry-task/Taskfile.yml - poetry:update-deps: - desc: Update all dependencies managed by Poetry to their newest versions - deps: - - task: poetry:install - cmds: - - poetry update