Repository navigation
Conversation
pixi does not have something like conda-unpack, so it needs to install the env to the final location (e.g. the cache). We use two minitasks, one that creates the location, and a second that reads that location as a symlink and that unpacks the environment. It writes directly to the cache, which breaks the assumption that tasks do not modify anything in the cache. Not sure if too hackish or clever.
Member
|
This is great, and nice to see that we can do it with the existing environment abstraction. But I'm thinking that we make this pixi environment constructor (and others) just part of the standard Taskvine library. So "use pixi like this" is right up front, but "how to make a custom environment" is somewhere deep in the documentation where AI can find it. How does that sound? |
Member
Author
|
Sounds good! |
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.
pixi does not have something like conda-unpack, so it needs to install the env to the final location (e.g. the cache). We use two minitasks, one that creates the location, and a second that reads that location as a symlink and that unpacks the environment. It writes directly to the cache, which breaks the assumption that tasks do not modify anything in the cache.
Not sure if too hackish or too clever.
Proposed Changes
Give an overall description of the changes, along with the context and motivation.
Mention relevant issues and pull requests as needed.
Merge Checklist
The following items must be completed before PRs can be merged.
Check these off to verify you have completed all steps.
make testRun local tests prior to pushing.make formatFormat source code to comply with lint policies. Note that some lint errors can only be resolved manually (e.g., Python)make lintRun lint on source code prior to pushing.