Replace uv version --no-sync with direct in-place file edits for version bumps#277
Closed
Copilot wants to merge 2 commits intoversion-orchestratorfrom
Closed
Replace uv version --no-sync with direct in-place file edits for version bumps#277Copilot wants to merge 2 commits intoversion-orchestratorfrom
uv version --no-sync with direct in-place file edits for version bumps#277Copilot wants to merge 2 commits intoversion-orchestratorfrom
Conversation
Merged
…dits Co-authored-by: srozen <5946462+srozen@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Address feedback on version orchestrator implementation
Replace Mar 11, 2026
uv version --no-sync with direct in-place file edits for version bumps
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.
uv version --no-syncskips virtualenv sync but still runs the resolver, requiring network access and risking partial state (e.g.pyproject.tomlrewritten,uv.locknot) on transient failures.Changes
update_pyproject_version(path, target_version)— regex-patches theversionfield directly in the[project]section ofpyproject.toml, anchored to that section to avoid false matches elsewhere:update_uv_lock_version(path, package_name, target_version)— patches theversionline in the matching[[package]]block ofuv.lockusing the invariant[[package]]\nname = "..."\nversion = "..."format generated byuv:cmd_set/cmd_bump— bothrun_command(["uv", "version", ...])calls replaced with the above functions. Nouvsubprocess is invoked; version bumps are now fully offline and atomic at the file level.💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.