Package: src:dm-tree
Version:
Severity: important
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12
dm-tree ftbfs with Python 3.12, although the build and test of the
extension succeed with 3.12. The build then fails building the docs:
debian/rules execute_before_dh_sphinxdoc
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cd $(pybuild --print build_dir --name dm-tree |head -n1 |awk -F ': '
'{print $2}'); python3 -m sphinx -b html -N /<<PKGBUILDDIR>>/docs
/<<PKGBUILDDIR>>/debian/python-dm-tree-doc/usr/share/doc/python-dm-tree-doc/html
Running Sphinx v7.2.6
Configuration error:
There is a programmable error in your configuration file:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/config.py", line 358, in
eval_config_file
exec(code, namespace) # NoQA: S102
^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/docs/conf.py", line 34, in <module>
import tree
File
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dm-tree/build/tree/__init__.py",
line 23, in <module>
from .sequence import _is_attrs
File
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dm-tree/build/tree/sequence.py",
line 19, in <module>
from tree import _tree
ImportError: cannot import name '_tree' from partially initialized
module 'tree' (most likely due to a circular import)
(/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dm-tree/build/tree/__init__.py)
make[1]: *** [debian/rules:11: execute_before_dh_sphinxdoc] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
complete build log at
https://launchpadlibrarian.net/696984001/buildlog_ubuntu-noble-amd64.dm-tree_0.1.8-2_BUILDING.txt.gz