Package: weechat-matrix
Version: 0.3.0-3.3
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: [email protected]

Dear Maintainer,

Trying to use weechat-matrix on Trixie for the first time, I started
weechat, then typed this command:


/script load matrix.py

I received an error and the script did not load:

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

As part of reporting this bug, I used Docker's debian:trixie tag and
received the same error. However when installing weechat-matrix in the 
debian:testing image,
There was no error. So this is a bug against debian stable only.




-- System Information:
Debian Release: 13.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.74+deb13+1-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, 
TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages weechat-matrix depends on:
ii  python3-aiohttp       3.11.16-1
ii  python3-atomicwrites  1.4.1-1
ii  python3-magic         2:0.4.27-3
ii  python3-matrix-nio    0.25.2-1
ii  python3-openssl       25.0.0-1
ii  python3-pygments      2.18.0+dfsg-2
ii  python3-requests      2.32.3+dfsg-5+deb13u1
ii  python3-webcolors     1.13-1

Versions of packages weechat-matrix recommends:
ii  weechat-python  4.6.3-1

weechat-matrix suggests no packages.

-- no debconf information

Reply via email to