pyodide / micropip

A lightweight Python package installer for Pyodide
https://micropip.pyodide.org
Mozilla Public License 2.0
68 stars 16 forks source link

Add support for Simple Repository API (PEP 503 / PEP 691) #75

Closed ryanking13 closed 11 months ago

ryanking13 commented 11 months ago

This adds support for Simple Repository API including PEP 691 and PEP 503. This PR also changes the default index URL from https://pypi.org/pypi/{package_name}/json to https://pypi.org/simple.

I added some tests that send requests to remote package indexes like PyPI, so we can ensure that micropip "works" with famous package indexes. Those tests don't run by default in CI, but one can run them manually by adding --remote-remote-index-tests flag or by clicking the button in GHA.

ryanking13 commented 11 months ago

I think once this is merged we should do a micropip release with it. Unless there were other PRs you wanted to do in this area.

Yes, let's make a release so we can include it in Pyodide 0.24.