-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pixi support for multiple platforms #43
Open
mkitti
wants to merge
15
commits into
janelia-cellmap:main
Choose a base branch
from
mkitti:win-64-pixi
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
f0f1603
Add win-64 support via pixi
mkitti 27dd6fd
Update pixi.lock file
mkitti 958405a
Add osx-arm64 and osx-64
mkitti 741a6c0
Merge branch 'main' into win-64-pixi
mkitti 32bb737
Add Mark Kittisopikul as an author
mkitti fcfde1a
Fix tensorstore dependency, using pypi
mkitti 68de03e
Add back torch as a pypi dependency
mkitti 443886c
Add pixi instructions to the README
mkitti 0595157
Clarify pixi instructions
mkitti 35f4477
Push specific getting started instructions down one heading level
mkitti 95e215e
Recommend pixi first
mkitti 912f49c
Convert more dependencies to conda packages
mkitti f6647f5
Merge branch 'main' into win-64-pixi
mkitti 38e1b3f
Downgrade fastremap to 1.13, python to 3.11 for macos-arm64
mkitti c1146f4
Merge branch 'main' into win-64-pixi
rhoadesScholar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# GitHub syntax highlighting | ||
pixi.lock linguist-language=YAML linguist-generated=true | ||
# SCM syntax highlighting | ||
pixi.lock linguist-language=YAML linguist-generated=true |
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mkitti Can you give the specific line to "activate" the pixi environment that was just created, so they can use it just like a mamba environment (i.e. so that the rest of the instructions are still accurate)? Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it simply
pixi shell csc
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's just
pixi shell
as I wrote. This will look for the local pyproject.toml and "activate" the environment based on that.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although I see there is an issue with
fastremap
at the moment. I'll try to address that in an hour.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rhoadesScholar Just checking in. I resolved the issue I was seeing with
fastremap
.To clarify, to "activate" the environment, you have first
cd cellmap-segmentation-challenge
and then runpixi shell
.There's another way which is to execute the following in the shell.
See more information here:
https://pixi.sh/dev/features/environment/#activation