fix: ignore PIXI_ env vars when --manifest-path is different to PIXI_PROJECT_ROOT#5441
Merged
Hofer-Julian merged 8 commits intoprefix-dev:mainfrom Feb 10, 2026
Merged
Conversation
PIXI_ env vars when --manifest-path is different to PIXI_PROJECT_ROOT
b3f5b58 to
90cd437
Compare
…ars with different manifest
The fix in the previous commit properly ignores inherited PIXI_ environment variables when the workspace root differs from PIXI_PROJECT_ROOT, making explicit env var removal workarounds unnecessary.
e5dee2e to
aac920e
Compare
… crash The test constructed a `file://` URL by string concatenation (`"file://" + path.as_posix()`), which on Windows produced `file://C:/...` (two slashes). This is malformed — `C:` gets parsed as a hostname in the URL authority. The correct form is `file:///C:/...` (three slashes). On Linux the bug was latent because paths start with `/`, giving the correct three slashes by accident. `Path.as_uri()` handles this correctly on all platforms.
The test crashes the pytest-xdist worker on Windows. Skip for now until the underlying issue is resolved.
…test_git_path_build on Windows
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.
Description
Fixes #5395
How Has This Been Tested?
Added tests and verified behaviour locally with
pixi run install-as pixidAI Disclosure
Tools: Claude
Checklist:
I have performed a self-review of my own code
I have commented my code, particularly in hard-to-understand areas
I have added sufficient tests to cover my changes.