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>
This commit is contained in:
Massimiliano Pippi 2023-11-03 14:46:18 +01:00 committed by GitHub
parent 063d27c522
commit 03015877f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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