feat: support custom TOML manifest paths#6243
Open
terror wants to merge 2 commits into
Open
Conversation
Contributor
|
Maybe change this error aswell when it doesn't end in |
Contributor
|
Requesting @baszalmstra review. What do you think of the lockfile using the part before |
96ea9a1 to
bc8f65a
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.
Resolves #5967
This diff allows
--manifest-pathto point at a Pixi manifest with any.tomlfilename, instead of onlyaccepting
pixi.tomlandpyproject.toml. Custom TOML manifests are treated as Pixi manifests when explicitly provided, and their lockfiles now use the same stem as the manifest, socustom-pixi.tomlwrites tocustom-pixi.lockrather thanpixi.lock.The reference docs were updated to describe
--manifest-pathas accepting a manifest file or workspace directory. I also added a few tests that cover custom manifest provenance, explicit discovery, custom lockfile path derivation, and the end-to-end pixi lock--manifest-path custom-pixi.tomlbehavior.