-
Notifications
You must be signed in to change notification settings - Fork 4
use prefix-hosted channels #14
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
Conversation
|
looks like we're at least partially blocked on prefix-dev/prefix-dev#21 |
|
Don't we already use sharded repodata? |
|
I don't think so. @baszalmstra we have to use the |
Yes, but you also need to configure pixi to use it currently. See: https://pixi.sh/latest/reference/pixi_configuration/#repodata-config This will be the default in a future pixi version. |
186817a to
e8d3c92
Compare
|
adding the following locally is sufficient to get sharded repodata working without this PR: [mirrors]
"https://conda.anaconda.org" = ["https://prefix.dev/"]
# prefix.dev doesn't mirror conda-forge's label channels
# pixi uses the longest matching prefix for the mirror
"https://conda.anaconda.org/conda-forge/label" = [
"https://conda.anaconda.org/conda-forge/label",
]
[repodata-config."https://prefix.dev"]
disable-sharded = falseAfter this PR, one would no longer need the |
0c557c9 to
8ed85b9
Compare
|
I think this is ready for merge, I don't know why NumPy is failing in CI |
|
I'm also getting weird errors locally, hard to tell why. |
8ed85b9 to
2c16835
Compare
2c16835 to
dbe5a7a
Compare
I don't know what the root cause was, but Anyway, this is ready for merge. |
|
Mostly looks good, but now it's which is caused by an import error: That's on Linux. Does it work for you? |
|
|
|
Looks like we are waiting for conda-forge/jaxlib-feedstock#308, but either way not relevant to the changes in this PR. We can pin |
In case of issues, the previous version we locked to was 0.4.35 and that worked fine.
dfd28ca to
e09d908
Compare
rgommers
left a comment
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.
Looks like we're all good now, thanks Lucas!
This allows devs to take advantage of sharded repodata by default if they have set
disable-sharded = falseunder[repodata-config]in their pixi config (and hopefully without them having to do anything if the default changes in the future).Currently, this step is unneeded if one also sets
"https://conda.anaconda.org/conda-forge" = ["https://prefix.dev/conda-forge"]under[mirrors]in their config, but I guess this is a step in a good direction!