From 59085ba27089e50cca1ee447f3eed28c03073103 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 10 Jan 2026 03:48:25 +0000 Subject: [PATCH] fix: requirements.txt to reduce vulnerabilities The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-TORCH-13052805 - https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-14896210 - https://snyk.io/vuln/SNYK-PYTHON-WERKZEUG-14908843 --- requirements.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 7e1950a0..b595172c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,9 +9,11 @@ requests scikit-image scipy tb-nightly -torch>=1.7.1 +torch>=2.9.0 torchvision tqdm yapf lpips -gdown # supports downloading the large file from Google Drive \ No newline at end of file +gdown # supports downloading the large file from Google Drive +urllib3>=2.6.3 # not directly required, pinned by Snyk to avoid a vulnerability +werkzeug>=3.1.5 # not directly required, pinned by Snyk to avoid a vulnerability \ No newline at end of file