Source: python-schroot
Version: 0.4-5
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
The pipes module was removed in 3.13.

Log snippet:

 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 fakeroot debian/rules clean
dh clean --with python3  --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py clean 
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/setup.py", line 1, in <module>
    from schroot import __appname__, __version__
  File "/<<PKGBUILDDIR>>/schroot/__init__.py", line 1, in <module>
    from schroot.chroot import schroot  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/schroot/chroot.py", line 10, in <module>
    import pipes
ModuleNotFoundError: No module named 'pipes'
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: fakeroot debian/rules clean subprocess returned exit 
status 2
--------------------------------------------------------------------------------
Build finished at 2024-09-19T07:41:39Z


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

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