Source: m2crypto Version: 0.42.0-3 Severity: normal Tags: ftbfs upstream User: [email protected] Usertags: python3.14
Python 3.14 is upon us, and we would like to enable it as a supported version in Debian. m2crypto fails to build with Python 3.14 as an available version. Graham Inggs did a test rebuild in Ubuntu and found this build failure. These can be reproduced in Debian by installing python3-all from experimental (but you may need to rebuild some dependencies by hand, first). I think it has been fixed in a new upstream version, but that needs to be checked. 0.46.0 claims to work on Python 3.14rc3: https://git.sr.ht/~mcepl/m2crypto/tree/master/item/CHANGES Build log: https://launchpadlibrarian.net/820386365/buildlog_ubuntu-questing-amd64.m2crypto_0.42.0-3build1_BUILDING.txt.gz Errors: I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_m2crypto/build; python3.14 -m pytest --ignore tests/test_ssl.py ============================= test session starts ============================== platform linux -- Python 3.14.0rc3, pytest-8.3.5, pluggy-1.5.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_m2crypto/build configfile: pyproject.toml plugins: typeguard-4.4.2 collected 234 items / 3 errors ==================================== ERRORS ==================================== ____________________ ERROR collecting tests/test_bio_ssl.py ____________________ tests/test_bio_ssl.py:19: in <module> from tests.test_ssl import srv_host, allocate_srv_port <frozen importlib._bootstrap>:1371: in _find_and_load ??? <frozen importlib._bootstrap>:1342: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:938: in _load_unlocked ??? /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:185: in exec_module exec(co, module.__dict__) tests/test_ssl.py:34: in <module> from M2Crypto import (Err, Rand, SSL, X509, ftpslib, httpslib, m2, m2urllib, M2Crypto/m2urllib.py:104: in <module> URLopener.open_https = open_https E NameError: name 'URLopener' is not defined __________________ ERROR collecting tests/test_ssl_offline.py __________________ tests/test_ssl_offline.py:14: in <module> from tests.test_ssl import srv_host <frozen importlib._bootstrap>:1371: in _find_and_load ??? <frozen importlib._bootstrap>:1342: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:938: in _load_unlocked ??? /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:185: in exec_module exec(co, module.__dict__) tests/test_ssl.py:34: in <module> from M2Crypto import (Err, Rand, SSL, X509, ftpslib, httpslib, m2, m2urllib, M2Crypto/m2urllib.py:104: in <module> URLopener.open_https = open_https E NameError: name 'URLopener' is not defined ____________________ ERROR collecting tests/test_ssl_win.py ____________________ tests/test_ssl_win.py:20: in <module> from tests import test_ssl, unittest <frozen importlib._bootstrap>:1371: in _find_and_load ??? <frozen importlib._bootstrap>:1342: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:938: in _load_unlocked ??? /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:185: in exec_module exec(co, module.__dict__) tests/test_ssl.py:34: in <module> from M2Crypto import (Err, Rand, SSL, X509, ftpslib, httpslib, m2, m2urllib, M2Crypto/m2urllib.py:104: in <module> URLopener.open_https = open_https E NameError: name 'URLopener' is not defined =============================== warnings summary =============================== M2Crypto/__init__.py:33 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_m2crypto/build/M2Crypto/__init__.py:33: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. __ver = Version(__version__)

