Skip to content

feat: support custom TOML manifest paths#6243

Open
terror wants to merge 2 commits into
prefix-dev:mainfrom
terror:custom-pixi-manifest
Open

feat: support custom TOML manifest paths#6243
terror wants to merge 2 commits into
prefix-dev:mainfrom
terror:custom-pixi-manifest

Conversation

@terror
Copy link
Copy Markdown

@terror terror commented May 31, 2026

Resolves #5967

This diff allows --manifest-path to point at a Pixi manifest with any .toml filename, instead of only
accepting pixi.toml and pyproject.toml. Custom TOML manifests are treated as Pixi manifests when explicitly provided, and their lockfiles now use the same stem as the manifest, so custom-pixi.toml writes to custom-pixi.lock rather than pixi.lock.

The reference docs were updated to describe --manifest-path as 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.toml behavior.

@terror terror changed the title Add support for custom toml manifest paths feat: support custom TOML manifest paths May 31, 2026
@ruben-arts
Copy link
Copy Markdown
Contributor

Maybe change this error aswell when it doesn't end in .toml:

> pixi install --manifest-path bla.bla
Error:   × unrecognized manifest file format. Expected either pixi.toml or pyproject.toml.

@ruben-arts ruben-arts requested a review from baszalmstra June 1, 2026 09:20
@ruben-arts
Copy link
Copy Markdown
Contributor

Requesting @baszalmstra review. What do you think of the lockfile using the part before .toml as the part before .lock?

@terror terror force-pushed the custom-pixi-manifest branch from 96ea9a1 to bc8f65a Compare June 1, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: accept arbitrary manifest name in --manifest-path

2 participants