Skip to content
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

A Micropip specific index_url #156

Open
MRYingLEE opened this issue Nov 11, 2024 · 2 comments
Open

A Micropip specific index_url #156

MRYingLEE opened this issue Nov 11, 2024 · 2 comments

Comments

@MRYingLEE
Copy link

Is it possible to create a micropip specific index_url for micopip to speed the compatibility checking in installing?

The index_urls does not need to be updated at real time to follow pypi. Instead, after each version of micropip, update it.

Any ideas?

@ryanking13
Copy link
Member

ryanking13 commented Nov 11, 2024

Any package index that follows simple repository API will work with micropip. We don't have a goal to make one because of a lack of human resources and money, but feel free to implement one if you are interested.

I believe @CNSeniorious000 has some similar idea (pyodide/pyodide#5004) too.

@CNSeniorious000
Copy link
Member

Yeah! I think it's feasible but not a small project either.

However, I do have a tiny project where I use uv for pypi resolution, and the performance is quite good (resolving Jupyter dependencies takes about 800ms). This might be the most cost-effective workaround 😂

If you deploy such a service behind a Cloudflare cache, it's basicly at zero cost.

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

No branches or pull requests

3 participants