#1137434 FTBFS with python3-openssl >= 26.2.0

Package:
src:servefile
Source:
src:servefile
Submitter:
Andrey Rakhmatullin
Date:
2026-06-21 16:03:01 UTC
Severity:
normal
Tags:
#1137434#5
Date:
2026-05-23 20:00:07 UTC
From:
To:
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'

#1137434#10
Date:
2026-06-05 19:09:29 UTC
From:
To:
python3-openssl 26.2.0-1 is in unstable.