-
Notifications
You must be signed in to change notification settings - Fork 11
RFC 3: using a dependency solver #10
Copy link
Copy link
Open
Description
Here the idea is to use some standard Python dependency solver for creating the pyodide-lock.json from multiple sources (Pyodide distribution, PyPI, third party sources etc).
For instance it could look as follows,
- Expose a Simple JSON API for the Pyodide distribution (so that Python package managers could understand it). This should already be done, but I can't find where (cc @ryanking13 )
- Define a list of indexes with a priority . Same idea as
--extra-index-urlin pip - Run a standard Pythopn dependency solver on a list of input requirements, specifying
emscripten*_wasm32as the platform (or whatever it is now). Here the best tool remains to be determined,- using solvers from pip directly as pip-tools is doing.
- https://github.com/sarugaku/resolvelib
- others ?
- Reformat the results in the
pyodide-lock.jsonformat (by taking information either from the originalpyodide-lock.json)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels