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
SSLContext.set_npn_protocols broken in Python 3.10 #308
Comments
Hello, |
For upstream Python 3.10 there is no fix as far as I am aware, but you can work around the issue in weechat-matrix by applying the patch I included above. |
Hi, could you turn this into a pull request? |
Sure, done: #309 |
When trying to load the weechat-matrix script with Python 3.10, it fails with the following error:
This is due to an upstream issue in Python 3.10 with
SSLContext.set_npn_protocols
, reported upstream as bpo-46067.Since the function is deprecated in Python 3.10 anyway, the broken function can simply be removed, cf. e.g. the patch I use for the Arch Linux package:
The text was updated successfully, but these errors were encountered: