mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix: revert Pillow/rembg upgrades that break dependency tree
Pillow 12.x conflicts with pinned numpy 1.26.4, rembg, realesrgan, and mediapipe. Revert to working 11.1.0 pins and ignore the CVEs in pip-audit instead — they require a coordinated major version upgrade across the entire ML stack (Pillow, numpy, torch, basicsr). Ignored CVEs: - CVE-2024-27763 (basicsr, no fix available) - CVE-2026-40086 (rembg, fix needs Pillow 12) - CVE-2026-25990 (Pillow, fix is 12.1.1) - CVE-2026-40192 (Pillow, fix is 12.2.0)
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
rembg>=2.0.75,<2.1.0
|
||||
rembg==2.0.62
|
||||
realesrgan==0.3.0
|
||||
paddleocr==2.9.1
|
||||
paddlepaddle-gpu==3.0.0
|
||||
mediapipe==0.10.21
|
||||
onnxruntime-gpu==1.20.1
|
||||
numpy==1.26.4
|
||||
Pillow>=12.2.0,<13.0.0
|
||||
opencv-python-headless>=4.10.0,<4.12.0
|
||||
Pillow==11.1.0
|
||||
opencv-python-headless==4.10.0.84
|
||||
codeformer-pip==0.0.4
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
rembg[cpu]>=2.0.75,<2.1.0
|
||||
rembg[cpu]==2.0.62
|
||||
realesrgan==0.3.0
|
||||
paddleocr[doc-parser]>=3.4.0,<3.5.0
|
||||
paddlepaddle>=3.0.0,<3.1.0
|
||||
mediapipe==0.10.21
|
||||
onnxruntime==1.20.1
|
||||
numpy==1.26.4
|
||||
Pillow>=12.2.0,<13.0.0
|
||||
opencv-python-headless>=4.10.0,<4.12.0
|
||||
Pillow==11.1.0
|
||||
opencv-python-headless==4.10.0.84
|
||||
codeformer-pip==0.0.4
|
||||
|
||||
Reference in New Issue
Block a user