micropip
micropip copied to clipboard
Maybe provide a parameter to avoid browser caching for PyPI resolution requests
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