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 2025-08-22 00:02:25 -05:00 committed by GitHub
parent 802d0bcd68
commit 1b0dbfed22
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,6 +32,8 @@ 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