-
Notifications
You must be signed in to change notification settings - Fork 375
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
Improvement: Support ZST in mamba and enable ZST by default #2404
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
d7bbf41
Improvement: Support ZSTD in mamba
johnhany97 21abfb7
Merge branch 'main' into jayad/use-zst
johnhany97 d73628b
update stubs
johnhany97 7a8ac18
Delete file
johnhany97 77dd9ee
Revert "update stubs"
johnhany97 76407b3
Merge branch 'jayad/use-zst' of github.com:johnhany97/mamba into jaya…
johnhany97 f05db57
update stubs
johnhany97 2291482
fix channel loading behaviour
johnhany97 55c360e
declare earlier
johnhany97 0cf6ab2
lint
johnhany97 d776698
Merge remote-tracking branch 'origin/main' into jayad/use-zst
johnhany97 3ca7efd
wire it up from context
johnhany97 2d4110d
follow defaults, and wire it through
johnhany97 e8bee89
unused
johnhany97 014181d
lint
johnhany97 6c26986
Improvement: Remove repodata_use_zst flag
johnhany97 5ceea40
move
johnhany97 a4589cf
lint
johnhany97 491f43d
regen stubs
johnhany97 295be88
run black
johnhany97 b50613c
fix
johnhany97 b5fbfde
Merge branch 'jayad/rm-zst-flag' into jayad/use-zst
johnhany97 1058b81
remove mamba configuration points
johnhany97 fd16ad9
regen stubs
johnhany97 364656c
fix
johnhany97 ba9effe
Merge branch 'main' of github.com:mamba-org/mamba into jayad/use-zst
johnhany97 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
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
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
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
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.
I'm not too familiar with this part of the code base, can you explain what is going on here? Are there any alternatives to having this logic here in Python?
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.
This is effectively just me mimicking the code that's in
channel_loader
which atm is duplicated between mamba and micromamba.Let me know if you have an idea in mind that I could test out to make this nicer.
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.
More concretely though, what's happening in the zst-enabled codepaths is that we do a HEAD request first to check if the zst variant exists, and if it does, we add another target that's the actual GET request for the zst variant.