Build and publish pure python wheel#260
Conversation
|
Since in the end they are both compressed archives, I believe that the ony reason why the wheel is smaller is that it does not contain all the tests, that I've been requested to include in Mocket releases. This said, I've just released the wheel for the latest version of Mocket, and I am going to merge this small change. Thanks! |
|
Btw, you were lucky because only recently I removed the remaining binary dependency from Mocket! :D |
|
You're the best Giorgio, thanks! Really appreciate the quick reply + wheel publish ❤️ |



👋 I'm using mocket from inside pyodide and pyodide requires "pure python wheels" to be able to install a given package.
I saw that mocket currently publishes only an sdist and not a pure python wheel, so making this PR to add a pure python wheel as well.
I tested out the change and it seems to work:
To be honest, before running into this issue I didn't know much about pure python wheels, but it seems like they've been around for a number of years and their use is encouraged. More docs.
I asked Claude to see if there are any downsides to publishing a pure python wheel alongside an sdist and it couldn't come up with anything beyond "now two files need to be uploaded to PyPI". It's encouraging to see that the pure python wheel is also smaller in size (22K vs 72K) meaning all mocket users should benefit from this change with less data traveling over the network and faster install time.