Skip to content

Draft: Add PEP-658 support - #90

Closed
ryanking13 wants to merge 7 commits into
pyodide:mainfrom
ryanking13:pep-658-pypi
Closed

ryanking13 wants to merge 7 commits into
pyodide:mainfrom
ryanking13:pep-658-pypi

Conversation

@ryanking13

Copy link
Copy Markdown
Member

This PR adds PEP 658: Serve Distribution Metadata in the Simple Repository API support to micropip, which means that when using Simple API to install a package, micropip will check for distribution metadata and downloads it simultaneously with the wheel to speed up dependency resolution.

I think this PR is mostly ready, but I'll split it into 2-3 PRs, and add more tests (it is kinda tricky to write a test for this), so I'm opening it as a draft.

@rth

rth commented Oct 8, 2023

Copy link
Copy Markdown
Member

Thanks for working on this!

Related question @ryanking13 : do we do (or plan to do) anything with the .whl.metadatafiles we create and distribute via jsdelvir? As currently they are not being served by the CDN jsdelivr/jsdelivr#18531

@ryanking13

ryanking13 commented Oct 8, 2023 •

Copy link
Copy Markdown
Member Author

Related question @ryanking13 : do we do (or plan to do) anything with the .whl.metadatafiles we create and distribute via jsdelvir? As currently they are not being served by the CDN jsdelivr/jsdelivr#18531

Yes, that's a good point. I think we'll need to serve .metadata files using jsdelivr in the future. If I understand correctly, there has been some work in the direction of allowing the pyodide distribution to be used as a package index. (I don't know what this will eventually look like).

@ryanking13

ryanking13 commented Sep 19, 2024 •

Copy link
Copy Markdown
Member Author

Superseded by #139

@ryanking13 ryanking13 closed this Sep 19, 2024
@ryanking13 ryanking13 mentioned this pull request Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants