mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
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:
parent
54470ec1d9
commit
d3cc94760d
1 changed files with 3 additions and 3 deletions
6
.github/workflows/regenerate-poetry-lock.yml
vendored
6
.github/workflows/regenerate-poetry-lock.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue