Trying to load matrix.py in weechat 4.9.0 as packaged in Debian 13 results in this error:
10:08 python: loading script "/home/strk/.local/share/weechat/python/matrix.py"
10:08 python: stdout/stderr (?): Traceback (most recent call last):
10:08 python: stdout/stderr (?): File "/home/strk/.local/share/weechat/python/matrix.py", line 43, in <module>
10:08 python: stdout/stderr (?): import OpenSSL.crypto as crypto
10:08 python: stdout/stderr (?): File "/usr/lib/python3/dist-packages/OpenSSL/__init__.py", line 8, in <module>
10:08 python: stdout/stderr (?): from OpenSSL import SSL, crypto
10:08 python: stdout/stderr (?): File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 15, in <module>
10:08 python: stdout/stderr (?): from cryptography import x509
10:08 python: stdout/stderr (?): File "/usr/lib/python3/dist-packages/cryptography/x509/__init__.py", line 7, in <module>
10:08 python: stdout/stderr (?): from cryptography.x509 import certificate_transparency, verification
10:08 python: stdout/stderr (?): File "/usr/lib/python3/dist-packages/cryptography/x509/certificate_transparency.py", line 11, in <module>
10:08 python: stdout/stderr (?): from cryptography.hazmat.bindings._rust import x509 as rust_x509
10:08 python: stdout/stderr (?): ImportError: PyO3 modules compiled for CPython 3.8 or older may only be initialized once per interpreter process
10:08 =!= python: unable to parse file "/home/strk/.local/share/weechat/python/matrix.py"
Trying to load matrix.py in weechat 4.9.0 as packaged in Debian 13 results in this error: