fix(ci): regenerate pixi.lock during semantic-release version bumps#202
Conversation
Add build_command = "pixi lock" to semantic-release config so the lockfile is updated before the version commit. Install pixi in the release workflow to support this. Also regenerate the currently stale pixi.lock from the 0.4.2 bump.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
📝 WalkthroughWalkthroughTwo configuration changes were made to integrate pixi into the release process: a new workflow step installs pixi before semantic release runs, and a Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
build_command = "pixi lock"to[tool.semantic_release]in pyproject.toml so the lockfile is regenerated before semantic-release commits the version bumppixi lockis availableContext
The 0.4.2 release bumped
versionin pyproject.toml but didn't update pixi.lock. Sincesampleworksis an editable self-dependency, the version change invalidated the lockfile, breaking all CI jobs withlock-file not up-to-date with the workspace.Test plan
Summary by CodeRabbit