Description
Steps to reproduce:
Install the bunq_sdk
using micropip
in Pyodide for example:
import micropip
await micropip.install('bunq_sdk')
or if you want only binary releases, you could reproduce this with "normal" pip
as well:
python3 -m pip install --only-binary bunq_sdk bunq_sdk
What should happen:
The newest version should be installed. In my opinion ideally there should be both a binary and source release on PyPI for each version.
What happens:
A very old version (0.13) gets installed, since that was the last release to include a pure Python wheel.
To fix this
I'm not sure what process uploads the releases to PyPI, but I think it could be worthwhile to build and publish the wheel version as well as the source release, by doing something like this:
python3 setup.py bdist_wheel
python3 -m twine upload dist/*
Extra info:
Relates to this PR: pyodide/pyodide#3801, because I first suspected simplejson
caused this. Since I'm (not by choice) installing an old version of the bunq_sdk
I got a very old version of simplejson
.
This is a useful resource about wheels and source releases: https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#wheels