feat: refactor spec implementation handling in global#4138
Merged
baszalmstra merged 15 commits intoprefix-dev:mainfrom Jul 17, 2025
Merged
feat: refactor spec implementation handling in global#4138baszalmstra merged 15 commits intoprefix-dev:mainfrom
baszalmstra merged 15 commits intoprefix-dev:mainfrom
Conversation
Need to think more about some basic conversions.
baszalmstra
approved these changes
Jul 17, 2025
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.
I've decided to split the task of installing source dependencies some more, this should lay a bit of the groundwork
Intro
This is the first step in a multi-phase implementation that will enable users to install packages from Git repositories, local
paths, and conda files directly - similar to cargo install --path ., npm install -g, and pipx install ..
Specifically, this PR focuses on refactoring the spec handling system to support the new GlobalSpec and PixiSpec formats required for the
upcoming source dependency features.
Before:
After:
GlobalSpecandNamedGlobalSpectypes for unified dependency handlingCurrent limitation: Source dependencies are detected but filtered out with warning messages (full implementation coming in follow-up PRs)
Testing
Relying on global test suite for now, which is excellent (thanks @Hofer-Julian) helped me find some bugs and will extend it some more in subsequent PR's