anvil-works / anvil-runtime

The runtime engine for hosting Anvil web apps
https://anvil.works/open-source
Other
874 stars 116 forks source link

Deprecated "imp" module is used. Does not work with Python 3.12 #87

Open AugustasVol opened 1 month ago

AugustasVol commented 1 month ago
anvil_downlink_worker/__init__.py", line 2, in <module>
    import ast, sys, imp, importlib, time
ModuleNotFoundError: No module named 'imp'

imp module is deprecated, so in Python 3.12 the anvil-runtime does not work, since it tries to import imp and throws this error.

Please fix this, this Python version is used in the latest Ubuntu LTS