Source: servefile
Version: 0.5.4-3.2
Severity: important
Tags: ftbfs upstream

I've rebuilt the package locally with python3-openssl 26.2.0-1~exp1 which is
currently in experimental but I plan to upload it to unstable soon. It failed
two tests:

FAILED tests/test_servefile.py::test_https -
requests.exceptions.ConnectionEr...
FAILED tests/test_servefile.py::test_https_big_download -
requests.exceptions...

In both cases the reason is likely:

  File "/build/reproducible-
path/servefile-0.5.4/.pybuild/cpython3_3.13_servefile/build/servefile/servefile.py",
line 930, in genKeyPair
    ext = crypto.X509Extension(b"subjectAltName", False,
(",".join(altNames)).encode())
          ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/cryptography/utils.py", line 79, in
__getattr__
    obj = getattr(self._module, attr)
AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Extension'



-- System Information:
Debian Release: forky/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), 
(101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 7.0.4+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to