fix(ci): replace removed --no-update flag with plain poetry lock

--no-update was removed in Poetry 2.x. Plain `poetry lock` is the
correct equivalent: it re-solves only what pyproject.toml requires
without upgrading already-locked packages.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Julio Quinteros Pro 2026-02-19 20:06:40 -03:00
parent 54470ec1d9
commit d3cc94760d

View file

@ -30,9 +30,9 @@ jobs:
run: pip install poetry
- name: Regenerate poetry.lock
# --no-update: re-solve only what pyproject.toml requires without
# upgrading packages that are already in the lock file.
run: poetry lock --no-update
# Resolves dependencies to match pyproject.toml without unnecessarily
# upgrading already-locked packages (--no-update was removed in Poetry 2.x).
run: poetry lock
- name: Check whether poetry.lock actually changed
id: diff