Source: webpy
Version: 1:0.62-4
Severity: normal
Tags: fixed-upstream
User: [email protected]
Usertags: python3.13
Forwarded: https://github.com/webpy/webpy/issues/732

This package failed build from source when test-built against a version of
python3-defaults that includes 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
cgi was removed in 3.13. This appears to be fixed in 0.70, upstream.

Log snippet:

   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py clean 
/<<PKGBUILDDIR>>/web/debugerror.py:31: SyntaxWarning: invalid escape sequence 
'\-'
  djangoerror_t = """\
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/setup.py", line 7, in <module>
    from web import __version__
  File "/<<PKGBUILDDIR>>/web/__init__.py", line 4, in <module>
    from . import (  # noqa: F401
    ...<11 lines>...
    )
  File "/<<PKGBUILDDIR>>/web/debugerror.py", line 19, in <module>
    from . import webapi as web
  File "/<<PKGBUILDDIR>>/web/webapi.py", line 6, in <module>
    import cgi
ModuleNotFoundError: No module named 'cgi'
E: pybuild pybuild:389: clean: plugin distutils failed with: exit code=1: 
python3.13 setup.py clean 
dh_auto_clean: error: pybuild --clean -i python{version} -p "3.13 3.12" 
returned exit code 13
make: *** [debian/rules:6: clean] Error 25
dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-09-19T16:36:58Z


If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/797296/

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

Reply via email to