micropip icon indicating copy to clipboard operation
micropip copied to clipboard

Maybe provide a parameter to avoid browser caching for PyPI resolution requests

Open CNSeniorious000 opened this issue 7 months ago • 5 comments

Currently micropip passes a kwargs to pyfetch during resolution.

https://github.com/pyodide/micropip/blob/5d4a8696f7daf302f060ffded34f9a84455fcffc/micropip/install.py#L138

I think it is reasonable to add a no_cache parameter to install command or the Transaction class to skip browser caching. Currently it is not possible to skip browser caching for PyPI simple API calls.

Use case: upgrading a previously installed package

CNSeniorious000 avatar Jul 19 '24 14:07 CNSeniorious000