docs/pyodide.md
workerd is linked against a Pyodide lock file, which is located within an R2 bucket. At build time this lock file is fetched and bundled into the binary. (See WORKSPACE and search for pyodide-lock.json)
If you know where the R2 bucket is (See build/pyodide_bucket.bzl) then the pyodide-lock.json file is located inside the root of the R2 directory for the Pyodide package bundle release.
This lock file contains some information used by workerd to pull in package requirements, including but not limited to:
We have scripts and GitHub actions set up for building and uploading Pyodide package bundles onto R2. These are available here. Simply follow the instructions on that repo to build a new version of Pyodide or a new package bundle release.