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:
Relates to this PR: https://github.com/pyodide/pyodide/pull/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.
Steps to reproduce:
Install the
bunq_sdk
usingmicropip
in Pyodide for example:or if you want only binary releases, you could reproduce this with "normal"
pip
as well: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:
Extra info:
Relates to this PR: https://github.com/pyodide/pyodide/pull/3801, because I first suspected
simplejson
caused this. Since I'm (not by choice) installing an old version of thebunq_sdk
I got a very old version ofsimplejson
.This is a useful resource about wheels and source releases: https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#wheels