fix: upgrade typing_extensions to resolve altair import error

Added RUN pip install --upgrade typing_extensions to ensure compatibility with altair and gradio dependencies. This resolves a startup crash caused by missing TypeIs in older versions of typing_extensions, allowing the container to initialize successfully.
This commit is contained in:
Sampson 2026-01-28 23:07:48 -06:00 committed by GitHub
parent 802d0bcd68
commit 8392447e65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,6 +32,7 @@ RUN --mount=type=cache,target=/root/.cache/pip \
cd stable-diffusion-webui && \
git reset --hard v1.9.4 && \
pip install -r requirements_versions.txt
RUN pip install --upgrade typing_extensions
ENV ROOT=/stable-diffusion-webui