From 03015877f3a4734e3ee0fac99e3878f03c11811d Mon Sep 17 00:00:00 2001 From: Massimiliano Pippi Date: Fri, 3 Nov 2023 14:46:18 +0100 Subject: [PATCH] chore: pin trio to <0.23 (#6227) * chore: pin trio to <0.23 * Update Dockerfile.base --------- Co-authored-by: Stefano Fiorucci <44616784+anakin87@users.noreply.github.com> --- docker/Dockerfile.base | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/Dockerfile.base b/docker/Dockerfile.base index 6ad4378c3..8765ce5e0 100644 --- a/docker/Dockerfile.base +++ b/docker/Dockerfile.base @@ -26,6 +26,10 @@ RUN pip install --upgrade pip && \ pip install --no-cache-dir .${haystack_extras} && \ pip install --no-cache-dir ./rest_api +# Downgrade trio at the last known working version. The issue only +# surfaced in the pytorch-derived image but applying to all the +# images for simplicity. +RUN pip install -U "trio<0.23" FROM $base_image AS final