Hi!
This issue was initially found while using the proman-versioning package in our pipeline. After some investigation, it appears the lines
if importlib.util.find_spec('xmltodict'): # type: ignore
from compendium.filetypes.xml import XmlConfig
are causing an error since importlib.util probably because is a frozen module on the docker containers where we are running this.
Steps to reproduce
docker run -it --rm python:3.11-alpine python -c "import importlib; importlib.util"
docker run -it --rm python:3.11 python -c "import importlib; importlib.util"
docker run -it --rm python:3.11-slim python -c "import importlib; importlib.util"
docker run -it --rm python:3.11-slim-bullseye python -c "import importlib; importlib.util"
using importlib.util directly resolves the issue