Skip to content

Why does pyodide re-build pure python packages such as typing-extensions? #4667

Closed Answered by hoodmane
maartenbreddels asked this question in Q&A
Discussion options

You must be logged in to vote

But then why is this file in the repo

We want to lock all of the transitive dependencies of the packages we include so that what we test matches what we ship. Ideally that means they will all work together correctly.

Couldn't pyodide just grab the dependency from pypi (as happens with micropip)?

Yes, our lockfile works with PyPI urls so that would work fine. We try to remove tests from wheels that include them and do various other things to shrink the size of some wheels. We can also insert patches or add files. But some don't get modified.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@maartenbreddels
Comment options

@hoodmane
Comment options

Answer selected by maartenbreddels
@maartenbreddels
Comment options

@hoodmane
Comment options

@maartenbreddels
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants