fix(ai): pin rembg to 2.0.69 to keep numpy<2 compatibility

rembg 2.0.70+ requires numpy>=2.3.0, but the AI bundle pins numpy==1.26.4
(mediapipe, realesrgan/basicsr, codeformer, paddle all need numpy<2). The
unresolvable rembg==2.0.75 + numpy==1.26.4 combination broke pip-audit's
dependency resolution (CI red) and the background-removal bundle build. 2.0.69
is the newest rembg with an unconstrained numpy requirement. Verified: pip-audit
resolves with no unignored vulnerabilities on Python 3.11.
This commit is contained in:
SnapOtter
2026-06-17 15:54:35 +08:00
parent d5c855d844
commit 3726335063
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
rembg==2.0.75
rembg==2.0.69
realesrgan==0.3.0
paddleocr==2.9.1
paddlepaddle-gpu==3.0.0
+1 -1
View File
@@ -1,4 +1,4 @@
rembg[cpu]==2.0.75
rembg[cpu]==2.0.69
realesrgan==0.3.0
paddleocr[doc-parser]>=3.4.0,<3.5.0
paddlepaddle>=3.0.0,<3.1.0