-
Notifications
You must be signed in to change notification settings - Fork 11
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
cpython 3.12 incompatibility #30
Comments
Bastian-Krause
added a commit
to Bastian-Krause/crossbar
that referenced
this issue
Aug 24, 2023
The imp module is deprecated since Python 3.4 [1]. The import was added even after it was deprecated in [2]. In Python 3.12 the imp module will be removed. Use the reload function from importlib, which is the designated replacement [1]. With crossbario#2091 and this change, crossbar can be installed and run on Python 3.12 with: - numpy>=1.26.0b1 - wsaccel @ git+https://github.com/methane/[email protected] (assuming cython>=3.0.0 is installed, tarball from pypi won't work [3]) [1] https://docs.python.org/3.11/library/imp.html [2] crossbario@21910b0 [3] methane/wsaccel#30
oberstet
pushed a commit
to crossbario/crossbar
that referenced
this issue
Aug 24, 2023
The imp module is deprecated since Python 3.4 [1]. The import was added even after it was deprecated in [2]. In Python 3.12 the imp module will be removed. Use the reload function from importlib, which is the designated replacement [1]. With #2091 and this change, crossbar can be installed and run on Python 3.12 with: - numpy>=1.26.0b1 - wsaccel @ git+https://github.com/methane/[email protected] (assuming cython>=3.0.0 is installed, tarball from pypi won't work [3]) [1] https://docs.python.org/3.11/library/imp.html [2] 21910b0 [3] methane/wsaccel#30
9 tasks
released 0.6.6 |
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I know that this project is not actively maintained, but it's still being used by https://github.com/crossbario/autobahn-python.
pip install wsaccel==0.6.4
fails on Python 3.12.0-rc.1. The C code on https://pypi.org/project/wsaccel/ does not work with cpython3.12:Workaround:
The text was updated successfully, but these errors were encountered: