feat: add the pixi_conda_script crate with the block parser and TOML model - #6907
Draft
Hofer-Julian wants to merge 1 commit into
Draft
feat: add the pixi_conda_script crate with the block parser and TOML model#6907Hofer-Julian wants to merge 1 commit into
pixi_conda_script crate with the block parser and TOML model#6907Hofer-Julian wants to merge 1 commit into
Conversation
pixi_conda_script crate with the block parser and TOML model
Hofer-Julian
force-pushed
the
conda-script-parser
branch
from
August 27, 2026 15:20
05cc253 to
fe4a43d
Compare
…L model The first piece of the `conda-script` proposal (#3751): a parser for the `/// conda-script` comment block. The envelope parser detects the comment prefix, extracts the TOML and maps diagnostics back into the original file; the model covers `channels`, `entrypoint` (string or platform table), `[dependencies]` restricted to the keys the spec defines, and `[tool.pixi]` with `dependencies` and `pypi-dependencies`.
Hofer-Julian
force-pushed
the
conda-script-parser
branch
from
August 27, 2026 15:30
fe4a43d to
9d4a9b3
Compare
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.
First slice of the
conda-scriptproposal (#3751): a newpixi_conda_scriptcrate that parses the/// conda-scriptcomment block.channels,entrypoint(string or platform table),[dependencies]restricted to the keys the spec defines,[tool.pixi]withdependenciesandpypi-dependenciesConsiderations before merging
urlcombined withwhenfor cross-platform URL pinning, but pixi cannot attach conditions to URL specs yet, so the parser rejects the combination with a "not supported yet" error instead