Skip to content

Commit

Permalink
Force installation of lima-python for models
Browse files Browse the repository at this point in the history
  • Loading branch information
kleag committed May 9, 2024
1 parent ed5df07 commit 44ed450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion continuous_integration/Dockerfile-debian12
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 44ed450

Please sign in to comment.