fix(ci): use --skip flag for dynamic versioning workaround#133
Merged
peterfpeterson merged 1 commit intomainfrom Jan 5, 2026
Merged
fix(ci): use --skip flag for dynamic versioning workaround#133peterfpeterson merged 1 commit intomainfrom
peterfpeterson merged 1 commit intomainfrom
Conversation
Work around the circular dependency between pixi lock files and dynamic git-based versioning (versioningit). The issue: - Lock file contains version computed from git state - Committing lock file changes git state → version mismatch - CI with --locked fails because versions don't match Solution: Use pixi's --skip flag (added in v0.51.0) to skip the local editable package during locked install, then install it separately with pip. This preserves lock file integrity for all external deps while allowing the local package version to float. Also added documentation in README explaining the issue and solution for future reference. See: prefix-dev/pixi#3092 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
peterfpeterson
requested changes
Jan 5, 2026
Member
peterfpeterson
left a comment
There was a problem hiding this comment.
I think you can skip installing altogether for the conda package and upload conda package jobs
peterfpeterson
approved these changes
Jan 5, 2026
Member
peterfpeterson
left a comment
There was a problem hiding this comment.
I understand better now. Thanks
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
Work around the circular dependency between pixi lock files and dynamic git-based versioning (versioningit).
The Problem:
0.2.0.dev291+g<commit_hash>)--lockedfails because versions don't matchThe Solution:
Use pixi's
--skipflag (added in v0.51.0) to skip the local editable package during locked install, then install it separately with pip:This preserves lock file integrity for all external dependencies while allowing the local package version to float.
Changes:
.github/workflows/test_and_deploy.yamlwith the workaround for all jobsREADME.mdunder "Known issues" explaining the problem and solutionReferences
Test plan
🤖 Generated with Claude Code