feat: add --from-lockfile to pixi workspace export#5989
Open
baszalmstra wants to merge 2 commits intoprefix-dev:mainfrom
Open
feat: add --from-lockfile to pixi workspace export#5989baszalmstra wants to merge 2 commits intoprefix-dev:mainfrom
--from-lockfile to pixi workspace export#5989baszalmstra wants to merge 2 commits intoprefix-dev:mainfrom
Conversation
Add a `--from-lockfile` flag to `pixi workspace export conda-environment` that renders a frozen environment.yaml using the package versions resolved in the lock file instead of the manifest specs. Conda packages are pinned as `name ==version build`, registry PyPI packages as `name==version`, and git/file/path PyPI sources keep their direct reference URLs. Closes prefix-dev#5825 https://claude.ai/code/session_011qEmEGrK3p1pmeVAwydSc7
- Replace `pixi install` with `pixi lock` in error help text since the user just wants the lock file refreshed, not the env materialised. - Regenerate the autogenerated CLI reference page to surface the new --from-lockfile flag. - Mention the new flag in the conda switching guide. https://claude.ai/code/session_011qEmEGrK3p1pmeVAwydSc7
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.
Add a
--from-lockfileflag topixi workspace export conda-environmentthat renders a frozen environment.yaml using the package versions resolved in the lock file instead of the manifest specs. Conda packages are pinned asname ==version build, registry PyPI packages asname==version, and git/file/path PyPI sources keep their direct reference URLs.Closes #5825
How Has This Been Tested?
CI
AI Disclosure
Tools: Claude Code Web Opus 4.7 High
Checklist:
schema/model.py.