diff --git a/continuous_integration/Dockerfile-debian12 b/continuous_integration/Dockerfile-debian12 index 48541ba3d..73d22e7b5 100644 --- a/continuous_integration/Dockerfile-debian12 +++ b/continuous_integration/Dockerfile-debian12 @@ -76,7 +76,7 @@ RUN ninja && ninja install # Some models are necessary for unit tests to work, let's use a previous # version of lima-python to install them, then run tests and finally remove # old aymara/lima and downloaded models -RUN wget -q https://github.com/aymara/lima-python/releases/download/continuous/aymara-0.5.0b6-cp37-abi3-manylinux_2_28_x86_64.whl && pip install ./aymara-0.5.0b6-cp37-abi3-manylinux_2_28_x86_64.whl && lima_models -i eng && deeplima_models -i UD_English-EWT && pip uninstall -y aymara && (ctest || ctest --rerun-failed --output-on-failure) && rm -Rf $HOME/.local/share/lima +RUN wget -q https://github.com/aymara/lima-python/releases/download/continuous/aymara-0.5.0b6-cp37-abi3-manylinux_2_28_x86_64.whl && pip install --break-system-packages ./aymara-0.5.0b6-cp37-abi3-manylinux_2_28_x86_64.whl && lima_models -i eng && deeplima_models -i UD_English-EWT && pip uninstall -y aymara && (ctest || ctest --rerun-failed --output-on-failure) && rm -Rf $HOME/.local/share/lima RUN ninja package RUN install -D -t /usr/share/apps/lima/packages /src/lima/build/*.deb