ci: fix pre-release workflow to use UV_DYNAMIC_VERSIONING_BYPASS#176
Merged
Aaron ("AJ") Steers (aaronsteers) merged 1 commit intoJun 23, 2026
Merged
Conversation
The pre-release workflow was using sed to edit _version.py, which is now ignored since #175 switched to git tag-based versioning. Replace with UV_DYNAMIC_VERSIONING_BYPASS env var (matching PyAirbyte pattern). Also adds fetch-depth: 0 to the checkout step. Co-Authored-By: AJ Steers <aj@airbyte.io>
Contributor
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Copilot started reviewing on behalf of
Aaron ("AJ") Steers (aaronsteers)
June 23, 2026 03:04
View session
There was a problem hiding this comment.
Pull request overview
Updates the pre-release GitHub Actions workflow to align with git tag–based dynamic versioning by bypassing the VCS-derived version at build time, rather than editing _version.py (which is now ignored for versioning).
Changes:
- Replace the
sed-based_version.pyrewrite withUV_DYNAMIC_VERSIONING_BYPASSduringuv build. - Switch the build command from
uv run poe buildtouv build(equivalent givenpoe_tasks.toml’sbuildtask). - Add
fetch-depth: 0to checkout for consistency and full history availability.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
Follow-up to #175 (git tag-based versioning). The pre-release workflow was still using
sedto edit_version.py, which is now ignored since the version comes from git tags.UV_DYNAMIC_VERSIONING_BYPASSoverrides the VCS-derived version at build time — this is the same pattern PyAirbyte uses for its pre-release workflow.Also adds
fetch-depth: 0to the checkout step for consistency.Link to Devin session: https://app.devin.ai/sessions/854c664803f3400387fdaa02e123b888
Requested by: Aaron ("AJ") Steers (@aaronsteers)