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

upload of emscripten/wasm sourmash wheel to pypi fails #2553

Open
ctb opened this issue Apr 6, 2023 · 4 comments
Open

upload of emscripten/wasm sourmash wheel to pypi fails #2553

ctb opened this issue Apr 6, 2023 · 4 comments

Comments

@ctb
Copy link
Contributor

ctb commented Apr 6, 2023

when I run

twine upload sourmash-4.8.0-py3-none-emscripten_3_1_32_wasm32.whl

I get:

Uploading distributions to https://upload.pypi.org/legacy/
Uploading sourmash-4.8.0-py3-none-emscripten_3_1_32_wasm32.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 573.8/573.8 kB • 00:00 • 6.4 MB/s
WARNING  Error during upload. Retry with the --verbose option for more details. 
ERROR    HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/        
         Binary wheel 'sourmash-4.8.0-py3-none-emscripten_3_1_32_wasm32.whl' has
         an unsupported platform tag 'emscripten_3_1_32_wasm32'.                

connects with pypi/warehouse#10416

@luizirber
Copy link
Member

yeah, sadly that doesn't work yet... For now the wasm wheel is mostly to make sure the pyodide package builds properly.

I also opened emscripten-forge/recipes#288 but emscripten-forge doesn't support Rust yet.

@ctb
Copy link
Contributor Author

ctb commented Apr 8, 2023

note: pyodide/pyodide#3635

So... how do we run sourmash in pyodide? :)

@luizirber
Copy link
Member

luizirber commented Apr 12, 2023

So... how do we run sourmash in pyodide? :)

import micropip
await micropip.install("sourmash")
import sourmash
  • The rest is left as an exercise to the reader =]

In the future (when a new pyodide version is released) it will also work on https://pyodide.org/en/stable/console.html

@ctb
Copy link
Contributor Author

ctb commented Apr 13, 2023

super cool!

now I'm curious & thinking about what we should do with this 🤔

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

2 participants