fix(pypi-mapping): fetch parselmouth compressed mapping from conda-mapping.prefix.dev#6172
Conversation
…pping.prefix.dev The previous URL pointed at `raw.githubusercontent.com`, which is blocked on some corporate networks (prefix-dev#5980). Parselmouth now publishes the same file to its existing public R2 bucket at `https://conda-mapping.prefix.dev/compressed-v0/compressed_mapping.json`, so we can fetch from the trusted `prefix.dev` domain instead. The Git-committed file in the parselmouth repo is unchanged, so the old URL keeps working for now; this PR only swaps the default that pixi ships with. Closes prefix-dev#5980. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Would it make sense to support both domains? And fall back to the one that is accessible? |
tbh I'm not convinced to support both of them, given the fact that |
|
I'm more worried about users that do have access to github but not to prefix.dev. Merging this would break there setup. For opt-in network setup this might be very annoying. |
|
Wont that be the case anyway? We currently also only host the sha lookup on prefix.dev. |
Ah I forgot about that 👍 |
Description
Fixes: #5980
Now we will fetch the mapping from our official CDN instead of github.
How Has This Been Tested?
Running a pixi lock file on a project with pypi deps
Checklist: