[Debian-med-packaging] Bug#1151832: pyxnat: FTBFS: E ImportError: cannot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py)

Andreas Tille andreas at an3as.eu
Sat Oct 24 18:37:50 BST 2026


Control: tags -1 moreinfo
Thanks

Hi,

it seems this bug is caused by the fact that python3-lxml hasn't been
rebuilt for 3.15 (python3-defaults still lists 3.15 as supported while
an rdep lacks the extension), thats'’s a transition problem (Doko,
please correct me if I'm wrong).

I could possibly build pyxnat by adding

   export PYBUILD_DISABLE_python3.15=test

to debian/rules - but I wonder whether it helps in the long run to
do so.

Kind regards
   Andreas.

-- 
https://fam-tille.de



More information about the Debian-med-packaging mailing list