Skip to content
Snippets Groups Projects
Verified Commit 8b6364a2 authored by Olivier Benz's avatar Olivier Benz
Browse files

base: Fix latest Dockerfile

parent a3f4eb88
No related branches found
No related tags found
No related merge requests found
......@@ -501,6 +501,8 @@ RUN echo MODULAR_HOME=\"\$HOME/.modular\" > /tmp/magicenv \
packages=$(grep "Requires-Dist:" \
/usr/local/lib/python${PYTHON_VERSION%.*}/site-packages/max*.dist-info/METADATA | \
sed "s|Requires-Dist: \(.*\)|\1|" | \
cut -d ";" -f 1 | \
sed "s|xgrammar==|xgrammar>=|g" | \
tr -d "[:blank:]"); \
pip install $packages; \
else \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment