Fix python -m build flag: use --no-isolation instead of --no-build-isolation

This commit is contained in:
2026-04-03 08:54:45 +00:00
parent 4e8a765c72
commit beb26d3573

View File

@@ -77,7 +77,7 @@ RUN cd flashinfer && \
git checkout ${FLASHINFER_REF} && \
git submodule sync && \
git submodule update --init --recursive -j 8 && \
python -m build --wheel --no-build-isolation -o /wheels
python -m build --wheel --no-isolation -o /wheels
FROM build-base AS build-lmcache
# Bleeding edge: build from dev branch (v0.4.2+)
@@ -137,7 +137,7 @@ RUN cd vllm && \
export CMAKE_BUILD_PARALLEL_LEVEL=$MAX_JOBS && \
python use_existing_torch.py && \
pip install -r requirements/build.txt && \
CCACHE_NOHASHDIR="true" python -m build --wheel --no-build-isolation -o /wheels
CCACHE_NOHASHDIR="true" python -m build --wheel --no-isolation -o /wheels
# Build infinistore after vllm to avoid cache invalidation
FROM build-base AS build-infinistore