[Dune-devel] website builder

Dedner, Andreas A.S.Dedner at warwick.ac.uk
Fri May 31 09:57:26 CEST 2024


Hi.
The scheduled deployment of the website has been failing for the last two weeks. Some issue with switching to Python 3.11 in a new docker image I think is causing an import error in the ci-website-builder:

from .lya import OrderedDictYAMLLoader, AttrDict, configure_logging
File "/usr/local/lib/python3.11/dist-packages/lya/lya.py", line 5, in <module>
from collections import Mapping, Sequence, Set, OrderedDict, defaultdict
ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.11/collections/__init__.py)

so this 'lya' package possibly needs an update - assuming a newer version exists.

Our ci-website-builder package is not directly importing this but importing
from grabbox.click.logbook import init_logbook, LogHandler which then uses lya.

I was wondering is someone has already looked into this? Are these python packages part of the docker image so that needs rebuilding?

Best
Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20240531/315989ad/attachment.htm>


More information about the Dune-devel mailing list