E ImportError: cannot import name 'XMLPage' from 'kraken.containers' (/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/kraken/containers.py)
I still get another import issue for Image and TorchSeqRecognizer in kraken/rpred.py, see CI report. That can be fixed by executing the related import statements unconditionally.
This fixes an error which is also reported by CI: