micropip icon indicating copy to clipboard operation
micropip copied to clipboard

Index pip-installed packages

Open hoodmane opened this issue 1 year ago • 2 comments

This isn't very efficient, we should use pep 658 metadata which pypi provides now so we don't have to redownload the wheel. Also we should do fetches concurrently and asyncio.gather them. But it gets the basic idea.

Would resolve #107.

cc @jaraco @ryanking13 do either of you see anything wrong with this concept?

hoodmane avatar May 24 '24 12:05 hoodmane

See #110 where I've done some work to refactor the functionality to make it easier to alter behavior such as proposed here.

jaraco avatar May 24 '24 16:05 jaraco

Yeah thanks for the review, this is definitely a DO NOT MERGE pr. The point is that it passes the one test in the worst possible way and gives us a baseline for writing a good implementation.

hoodmane avatar May 24 '24 16:05 hoodmane