Source: solfege
Version: 3.23.4-12
Severity: normal
Tags: ftbfs
Justification: FTBFS
User: debian-pyt...@lists.debian.org
Usertags: python3.13-default

This package failed build from source when test-built against a version of
python3-defaults that has 3.13 as the default Python 3 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

Log snippet:

xvfb-run /usr/bin/python3 test.py
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/test.py", line 61, in <module>
    import solfege.mpd.tests
  File "/<<PKGBUILDDIR>>/solfege/mpd/tests/__init__.py", line 14, in <module>
    exec("import solfege.mpd.tests.%s" % m)
    ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<string>", line 1, in <module>
  File "/<<PKGBUILDDIR>>/solfege/mpd/tests/test_duration.py", line 43, in 
<module>
    suite = unittest.makeSuite(TestDuration)
            ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/unittest/__init__.py", line 80, in __getattr__
    raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
AttributeError: module 'unittest' has no attribute 'makeSuite'
make[1]: *** [Makefile:202: test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j8 test "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1 
returned exit code 2
make: *** [debian/rules:10: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit 
status 2
--------------------------------------------------------------------------------
Build finished at 2024-12-26T02:06:21Z


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

This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as default, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.

Thanks,

Stefano

Reply via email to