Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/stable-diffusion-streamlit/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ streamlit-image-comparison==0.0.2
transformers==4.22.2
diffusers==0.3.0
torch==1.10.0
pandas==1.4.1
pandas==1.4.1
zipp>=3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability

Copilot AI Feb 7, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This requirements file otherwise pins all dependencies with ==, but zipp is specified as >=3.19.1. That breaks reproducibility and is inconsistent with the established pattern in this file. Consider pinning to an exact version (e.g., ==3.19.1) or introducing a separate constraints file if ranges are desired.

Copilot uses AI. Check for mistakes.

Copilot AI Feb 7, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The inline comment says "pinned by Snyk", but zipp>=3.19.1 is not actually pinned. Also, note that the Docker build installs dependencies from docker/requirements.txt (see docker/dockerfile), so this change won’t affect the container environment; if the deployed artifact is the Docker image, the same zipp constraint likely needs to be applied there to fully remediate the vulnerability in production.

Copilot uses AI. Check for mistakes.
Loading