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

wasmtime (13.0.0) yields errors when started with Python 3.8.18 #196

Closed
Finfalter opened this issue Nov 10, 2023 · 2 comments
Closed

wasmtime (13.0.0) yields errors when started with Python 3.8.18 #196

Finfalter opened this issue Nov 10, 2023 · 2 comments

Comments

@Finfalter
Copy link

Currently, I use wasmtime 13.0.0. As far as I understand, it is supposed to work with Python 3.8. However, when I try to run my application based on Python 3.8.18 it yields an error:

Screenshot from wasmtime._module.py

wasmtime13-error

Console view:

../../../miniconda3/envs/[..]/lib/python3.8/site-packages/wasmtime/__init__.py:23: in <module>
    from ._module import Module
../../../miniconda3/envs/[..]/lib/python3.8/site-packages/wasmtime/_module.py:9: in <module>
    class Module:
../../../miniconda3/envs/[..]/lib/python3.8/site-packages/wasmtime/_module.py:11: in Module
    def from_file(cls, engine: Engine, path: str | bytes | PathLike) -> "Module":
E   TypeError: unsupported operand type(s) for |: 'type' and 'type'
@alexcrichton
Copy link
Member

Thanks for the report! This was additionally discussed in #189 which has some more background. Can you try 13.0.2 or 14.0.0 and see if it works?

@Finfalter
Copy link
Author

Thanks! Sorry that I missed that conversation. Yes, with, for example, 14.0.0, it works.

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