fix(ci): remove deprecated --no-update flag from poetry lock#1074
Merged
openshift-merge-bot[bot] merged 1 commit intoMay 6, 2026
Merged
Conversation
Poetry 2.x removed the --no-update option. The default behavior of `poetry lock` in v2 already preserves existing locked versions unless constraints have changed, matching the old --no-update semantics. Signed-off-by: kryanbeane <bryankeane0@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1074 +/- ##
=======================================
Coverage 96.56% 96.56%
=======================================
Files 23 23
Lines 2272 2272
=======================================
Hits 2194 2194
Misses 78 78 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
pawelpaszki
approved these changes
May 6, 2026
Contributor
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pawelpaszki The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
f6f2593
into
project-codeflare:main
20 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
update-versionsworkflow fails at the "Regenerate poetry.lock" step becausepoetry lock --no-updateis not a valid option in Poetry 2.x. The GitHub Actions runner installs the latest Poetry (now 2.x), which removed this flag.In Poetry 2.x,
poetry lock(without flags) already preserves existing locked versions by default — matching the old--no-updatesemantics from 1.x.Changes
--no-updateflag frompoetry lockin theupdate-versionsworkflow