Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No wheels for releases newer than 0.13 #163

Open
bartbroere opened this issue Apr 28, 2023 · 0 comments
Open

No wheels for releases newer than 0.13 #163

bartbroere opened this issue Apr 28, 2023 · 0 comments

Comments

@bartbroere
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant