Skip to content

Conversation

@Vipitis
Copy link
Contributor

@Vipitis Vipitis commented Nov 10, 2025

When using the release from pypi, pyscript showed an error like this
image

I looked around and it appears like they have a list of "official" pyodide packages to check against. I am not sure how to be included there, maybe https://pyodide.org/en/stable/development/adding-packages-into-pyodide-distribution.html#adding-packages-into-pyodide-distribution. Although our implementation is pure python and doesn't need a recipe, so the pypi wheels are fine as they are.

Luckily there was a pyscript update just hours ago that addressed exactly this problem. Now shows a warning but works as expected.

image

This doesn't impact the docs or the serving script as that points to a local wheel, but I ran into this in the wgpu browser branch.

@almarklein
Copy link
Member

Luckily there was a pyscript update just hours ago that addressed exactly this problem.

Sweet!

As of 2025/04, PyPI does not support Emscripten/wasm32 wheels

Do you know what this is about? Some dependencies (for pygfx) are compiled libs (imgui, freetype, uharfbuz).

@almarklein
Copy link
Member

almarklein commented Nov 10, 2025

it appears like they have a list of "official" pyodide packages to check against.

BTW, was this a problem of Pyodide or of PyScript?

edit: nevermind, the error message says pyodide

@almarklein almarklein merged commit e80eadc into pygfx:main Nov 10, 2025
13 checks passed
@Vipitis
Copy link
Contributor Author

Vipitis commented Nov 10, 2025

Pyodide was fine, I think this was a specific issue with PyScript. Not sure about the wasm wheels. I think there is wheels for it, plus also new ideas on how to distribute python with platform specific libs: https://wheelnext.dev/ or https://docs.pyx.dev/

edit: also see https://peps.python.org/pep-0783/

@Vipitis Vipitis deleted the bump-pyscript branch November 12, 2025 08:05
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

Successfully merging this pull request may close these issues.

2 participants