diff --git a/packages/grid/backend/backend.dockerfile b/packages/grid/backend/backend.dockerfile index 18b38e520fe..08ea2c9a72a 100644 --- a/packages/grid/backend/backend.dockerfile +++ b/packages/grid/backend/backend.dockerfile @@ -34,8 +34,7 @@ COPY syft/src/syft/VERSION ./syft/src/syft/ RUN --mount=type=cache,target=/root/.cache,sharing=locked \ # remove torch because we already have the cpu version pre-installed sed --in-place /torch==/d ./syft/setup.cfg && \ - uv pip install -e ./syft[data_science] && \ - if uv pip freeze | grep -q ansible; then uv pip freeze | grep ansible | xargs uv pip uninstall; fi + uv pip install -e ./syft[data_science] # ==================== [Final] Setup Syft Server ==================== # diff --git a/packages/grid/syft-client/syft.Dockerfile b/packages/grid/syft-client/syft.Dockerfile index e3d1189a8e8..8f94e38b81b 100644 --- a/packages/grid/syft-client/syft.Dockerfile +++ b/packages/grid/syft-client/syft.Dockerfile @@ -14,8 +14,7 @@ RUN apk update && apk upgrade && \ COPY ./syft /tmp/syft RUN --mount=type=cache,target=/root/.cache,sharing=locked \ - pip install --user jupyterlab==4.1.6 pip-autoremove==0.10.0 /tmp/syft && \ - pip-autoremove ansible ansible-core -y + pip install --user jupyterlab==4.1.6 /tmp/syft # ==================== [Final] Setup Syft Client ==================== #