-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
OSSCA2025Good first issues for OSSCA2025 participantsGood first issues for OSSCA2025 participantsgood first issueGood for newcomersGood for newcomers
Description
Description
We have a pyodide-cross-build-environments.json metadata file that stores information on pyodide cross build environments per version.
pyodide-build fetches this file whenever it needs to install cross-build environments. However, that JSON file is rarely updated (once a quarter), and querying that file every time is unnecessary. (related file)
I think we could update
-
pyodide-build to download that file once, store it in the file system.
-
Reuse the downloaded file instead of querying it every time.
-
If the file is too old, say
mtimeis 72 hours behind the current time, re-download it (we can make this value configurable) -
Add a
pyodide xbuildenvsubcommand that users can use to force re-download the metadata file.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
OSSCA2025Good first issues for OSSCA2025 participantsGood first issues for OSSCA2025 participantsgood first issueGood for newcomersGood for newcomers