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