Source: pytds
Version: 1.16.0-1
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
one test, tests/unit_test.py::test_cert_with_san, with the following reason:

Traceback (most recent call last):
  File "/build/reproducible-
path/pytds-1.16.0/.pybuild/cpython3_3.13_tds/build/pytds/utils.py", line 35, in
exponential_backoff
    return work(try_time)
  File "/build/reproducible-
path/pytds-1.16.0/.pybuild/cpython3_3.13_tds/build/pytds/__init__.py", line
353, in attempt
    return _connect(
        login=login,
    ...<11 lines>...
        row_strategy=row_strategy,
    )
  File "/build/reproducible-
path/pytds-1.16.0/.pybuild/cpython3_3.13_tds/build/pytds/__init__.py", line
446, in _connect
    route = tds_socket.login()
  File "/build/reproducible-
path/pytds-1.16.0/.pybuild/cpython3_3.13_tds/build/pytds/tds_socket.py", line
90, in login
    self._main_session.process_prelogin(self._login)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/build/reproducible-
path/pytds-1.16.0/.pybuild/cpython3_3.13_tds/build/pytds/tds_session.py", line
1277, in process_prelogin
    self.parse_prelogin(octets=p, login=login)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/build/reproducible-
path/pytds-1.16.0/.pybuild/cpython3_3.13_tds/build/pytds/tds_session.py", line
1329, in parse_prelogin
    tls.establish_channel(self)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/build/reproducible-
path/pytds-1.16.0/.pybuild/cpython3_3.13_tds/build/pytds/tls.py", line 208, in
establish_channel
    if not validate_host(cert=conn.get_peer_certificate(), name=bhost):
           ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/build/reproducible-
path/pytds-1.16.0/.pybuild/cpython3_3.13_tds/build/pytds/tls.py", line 134, in
validate_host
    ext = cert.get_extension(i)
          ^^^^^^^^^^^^^^^^^^
AttributeError: 'X509' object has no attribute 'get_extension'. Did you mean:
'get_version'?



-- 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