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

Erroneous flake8 version specifier (>==6.0.0) #4

Open
eidorb opened this issue Dec 7, 2024 · 1 comment
Open

Erroneous flake8 version specifier (>==6.0.0) #4

eidorb opened this issue Dec 7, 2024 · 1 comment

Comments

@eidorb
Copy link

eidorb commented Dec 7, 2024

Your package is a dream to use!

I'm using it to learn marimo. I've built a little demo app jjjquery.

One of the really cool features of marimo is being able to run the whole thing in the browser using WASM. To install packages from within Python code, we use micropip. Now, when I attempt to install abc-radio-wrapper, it gives the following error:

image

I think there's an error with your flake8 version specifier (should be >=, not >==):

"flake8>==6.0.0",

Why is it looking at test dependencies? I don't think micropip is trying to install test dependencies. I think it's simply trying to parse the wheel's metadata and erroring out when it encounters >==.

I've been able to work around this by including the whole abc_radio_wrapper.py module in mine, but that seems like cheating!

@eidorb
Copy link
Author

eidorb commented Dec 7, 2024

Yep! I managed to get it working by hacking the metadata in your published wheel.

Here's your library running on WASM. It works fine, there's an issue displaying images because of CORS.

And here it's running a bit betterer.

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