Pre compile tradfri

i have ported the x86 docker container to arm by switching to arm32v7/python:3.6 but when i try to start ha with tradfri it starts to compile stuff and it takes for ever.

this did not happen with the 0.56.2 release…

so what has changed with the tradfri integration?

Is there any way to add some step to my Dockerfile so that it pre compiles everything needed for tradfri?

i think i managed to get it working by adding

&& \
pip3 install --no-cache-dir -r https://raw.githubusercontent.com/ggravlingen/pytradfri/4.0.1/requirements.txt && \
    pip3 install --no-cache-dir yarl==0.13.0

For some reason ha does not work with yarl==0.14.0 so i had to downgrade to 0.13.0.