Package: python3-bottle Version: 7.45.3-2 Severity: normal User: debian-pyt...@lists.debian.org Usertags: python3.13 Control: affects -1 pycurl
pycurl failed build from source when test-built against a version of python3-defaults that incudes 3.13 as a supported version. To reproduce this issue, build against python3-defaults (python3-all-dev etc.) from Debian experimental. What's new in Python 3.13: https://docs.python.org/3.13/whatsnew/3.13.html The cgi module was removed. Log snippet: from . import runwsgi tests/runwsgi.py:3: in <module> import bottle /usr/lib/python3/dist-packages/bottle.py:38: in <module> import base64, cgi, email.utils, functools, hmac, itertools, mimetypes,\ E ModuleNotFoundError: No module named 'cgi' ____________________ ERROR collecting tests/setopt_test.py _____________________ ImportError while importing test module '/<<PKGBUILDDIR>>/tests/setopt_test.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/setopt_test.py:13: in <module> setup_module, teardown_module = appmanager.setup(('app', 8380)) tests/appmanager.py:10: in setup return perform_setup(*specs) tests/appmanager.py:13: in perform_setup from . import runwsgi tests/runwsgi.py:3: in <module> import bottle /usr/lib/python3/dist-packages/bottle.py:38: in <module> import base64, cgi, email.utils, functools, hmac, itertools, mimetypes,\ E ModuleNotFoundError: No module named 'cgi' ________________ ERROR collecting tests/setopt_unicode_test.py _________________ ImportError while importing test module '/<<PKGBUILDDIR>>/tests/setopt_unicode_test.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/setopt_unicode_test.py:13: in <module> setup_module, teardown_module = appmanager.setup(('app', 8380)) tests/appmanager.py:10: in setup return perform_setup(*specs) tests/appmanager.py:13: in perform_setup from . import runwsgi tests/runwsgi.py:3: in <module> import bottle /usr/lib/python3/dist-packages/bottle.py:38: in <module> import base64, cgi, email.utils, functools, hmac, itertools, mimetypes,\ E ModuleNotFoundError: No module named 'cgi' _____________________ ERROR collecting tests/share_test.py _____________________ ImportError while importing test module '/<<PKGBUILDDIR>>/tests/share_test.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/share_test.py:14: in <module> setup_module, teardown_module = appmanager.setup(('app', 8380)) tests/appmanager.py:10: in setup return perform_setup(*specs) tests/appmanager.py:13: in perform_setup from . import runwsgi tests/runwsgi.py:3: in <module> import bottle /usr/lib/python3/dist-packages/bottle.py:38: in <module> import base64, cgi, email.utils, functools, hmac, itertools, mimetypes,\ E ModuleNotFoundError: No module named 'cgi' __________________ ERROR collecting tests/sockopt_cb_test.py ___________________ ImportError while importing test module '/<<PKGBUILDDIR>>/tests/sockopt_cb_test.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/sockopt_cb_test.py:12: in <module> setup_module, teardown_module = appmanager.setup(('app', 8380)) tests/appmanager.py:10: in setup return perform_setup(*specs) tests/appmanager.py:13: in perform_setup from . import runwsgi tests/runwsgi.py:3: in <module> import bottle /usr/lib/python3/dist-packages/bottle.py:38: in <module> import base64, cgi, email.utils, functools, hmac, itertools, mimetypes,\ E ModuleNotFoundError: No module named 'cgi' _______________ ERROR collecting tests/user_agent_string_test.py _______________ ImportError while importing test module '/<<PKGBUILDDIR>>/tests/user_agent_string_test.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/user_agent_string_test.py:12: in <module> setup_module, teardown_module = appmanager.setup(('app', 8380)) tests/appmanager.py:10: in setup return perform_setup(*specs) tests/appmanager.py:13: in perform_setup from . import runwsgi tests/runwsgi.py:3: in <module> import bottle /usr/lib/python3/dist-packages/bottle.py:38: in <module> import base64, cgi, email.utils, functools, hmac, itertools, mimetypes,\ E ModuleNotFoundError: No module named 'cgi' _____________________ ERROR collecting tests/write_test.py _____________________ ImportError while importing test module '/<<PKGBUILDDIR>>/tests/write_test.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/write_test.py:18: in <module> setup_module, teardown_module = appmanager.setup(('app', 8380)) tests/appmanager.py:10: in setup return perform_setup(*specs) tests/appmanager.py:13: in perform_setup from . import runwsgi tests/runwsgi.py:3: in <module> import bottle /usr/lib/python3/dist-packages/bottle.py:38: in <module> import base64, cgi, email.utils, functools, hmac, itertools, mimetypes,\ E ModuleNotFoundError: No module named 'cgi' _______________ ERROR collecting tests/write_to_stringio_test.py _______________ ImportError while importing test module '/<<PKGBUILDDIR>>/tests/write_to_stringio_test.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/write_to_stringio_test.py:13: in <module> setup_module, teardown_module = appmanager.setup(('app', 8380)) tests/appmanager.py:10: in setup return perform_setup(*specs) tests/appmanager.py:13: in perform_setup from . import runwsgi tests/runwsgi.py:3: in <module> import bottle /usr/lib/python3/dist-packages/bottle.py:38: in <module> import base64, cgi, email.utils, functools, hmac, itertools, mimetypes,\ E ModuleNotFoundError: No module named 'cgi' __________________ ERROR collecting tests/xferinfo_cb_test.py __________________ ImportError while importing test module '/<<PKGBUILDDIR>>/tests/xferinfo_cb_test.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/xferinfo_cb_test.py:12: in <module> setup_module, teardown_module = appmanager.setup(('app', 8380)) tests/appmanager.py:10: in setup return perform_setup(*specs) tests/appmanager.py:13: in perform_setup from . import runwsgi tests/runwsgi.py:3: in <module> import bottle /usr/lib/python3/dist-packages/bottle.py:38: in <module> import base64, cgi, email.utils, functools, hmac, itertools, mimetypes,\ E ModuleNotFoundError: No module named 'cgi' =========================== short test summary info ============================ ERROR tests/app.py ERROR tests/cadata_test.py ERROR tests/certinfo_test.py ERROR tests/close_socket_cb_test.py ERROR tests/debug_test.py ERROR tests/default_write_cb_test.py ERROR tests/duphandle_test.py ERROR tests/failonerror_test.py ERROR tests/getinfo_test.py ERROR tests/header_cb_test.py ERROR tests/header_test.py ERROR tests/high_level_curl_test.py ERROR tests/multi_callback_test.py ERROR tests/multi_socket_select_test.py ERROR tests/multi_socket_test.py ERROR tests/multi_test.py ERROR tests/multi_timer_test.py ERROR tests/open_socket_cb_test.py ERROR tests/pause_test.py ERROR tests/perform_test.py ERROR tests/post_test.py ERROR tests/read_cb_test.py ERROR tests/readdata_test.py ERROR tests/relative_url_test.py ERROR tests/reset_test.py ERROR tests/resolve_test.py ERROR tests/runwsgi.py ERROR tests/setopt_lifecycle_test.py ERROR tests/setopt_string_test.py ERROR tests/setopt_test.py ERROR tests/setopt_unicode_test.py ERROR tests/share_test.py ERROR tests/sockopt_cb_test.py ERROR tests/user_agent_string_test.py ERROR tests/write_test.py ERROR tests/write_to_stringio_test.py ERROR tests/xferinfo_cb_test.py !!!!!!!!!!!!!!!!!!! Interrupted: 37 errors during collection !!!!!!!!!!!!!!!!!!! ======================= 2 deselected, 37 errors in 3.85s ======================= make[2]: *** [Makefile:107: do-test] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: *** [debian/rules:37: override_dh_auto_test] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:23: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2024-09-11T15:02:07Z If required, the full build log is available here (for the next 30 days): https://debusine.debian.net/artifact/700751/ This bug has been filed at "normal" severity, as we haven't started the transition to add 3.13 as a supported version, yet. This will be raised to RC as soon as that happens, hopefully well before trixie. Thanks, Stefano