mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
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:
@@ -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,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
|
||||
|
||||
Reference in New Issue
Block a user