Repository navigation
Conversation
build/shinylive/pyodide/ kept every wheel it ever held: older versions of PyPI packages from earlier lock files (plotnine 0.15.8 next to 0.15.9), Pyodide's own copies of packages shinylive_lock.json replaces (altair 6.0.0), and the wheels Pyodide ships for its own test suite. All of them went out in _shinylive/ and in the dist tarball. update_pyodide_lock_json now deletes any wheel, and its .metadata file, that the final pyodide-lock.json does not list.
schloerke
marked this pull request as draft
November 10, 2026 19:06
Contributor
Coverage report
Test suite run success342 tests passing in 20 suites. Report generated by 🧪jest coverage report action from 46be45b |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on posit-dev/shinylive#274.
build/shinylive/pyodide/kept every wheel it ever held, and all of them went out in_shinylive/and in the dist tarball:shinylive_lock.jsonreplaces (altair 6.0.0, about 780 KB)test_*)update_pyodide_lock_jsonnow deletes any wheel that the finalpyodide-lock.jsondoes not list, along with its.whl.metadatafile. Only.whlfiles are touched, sopython_stdlib.zipand the shared-library.zippackages stay.Known limit: once Pyodide's copy of a replaced package is deleted, it is gone. If that package is later dropped from
shinylive_requirements.json, unpack Pyodide again withrm -rf build/shinylive/pyodide && make all.