Source: pympler
Version: 1.1+dfsg1-1
Severity: normal
User: debian-pyt...@lists.debian.org
Usertags: python3.13

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

Not the same bug, but upstream is aware of 3.13 issues, see:
https://github.com/pympler/pympler/issues/163
and
https://github.com/pympler/pympler/commit/b674075c8de622d5f8ec3f6db2080872075e647c

Log snippet:

   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pympler/build; 
python3.13 /<<PKGBUILDDIR>>/test/runtest.py -pre-install -verbose 3
Python 3.13.0rc2 (main, Sep  7 2024, 08:52:38) 64-bit [GCC 14.2.0]

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/pympler/web.py", line 39, in <module>
    import bottle
ModuleNotFoundError: No module named 'bottle'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/test/runtest.py", line 136, in <module>
    tst, all = suite(dirs, clean=clean, pre=pre, verbose=verbose)
               ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/test/runtest.py", line 70, in suite
    mod = __import__(test, globals(), locals(), [mod])
  File "/<<PKGBUILDDIR>>/test/gui/test_web.py", line 16, in <module>
    from pympler.web import start_profiler, start_in_background
  File "/<<PKGBUILDDIR>>/pympler/web.py", line 41, in <module>
    from pympler.util import bottle
  File "/<<PKGBUILDDIR>>/pympler/util/bottle.py", line 38, in <module>
    import base64, cgi, email.utils, functools, hmac, itertools, mimetypes,\
            os, re, subprocess, sys, tempfile, threading, time, warnings, 
hashlib
ModuleNotFoundError: No module named 'cgi'
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pympler/build; {interpreter} 
{dir}/test/runtest.py -pre-install -verbose 3

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

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