From bfb55d48573a2182dd8aef3273f0aa35c26490cd Mon Sep 17 00:00:00 2001 From: zanllp Date: Sun, 4 Jan 2026 22:20:01 +0800 Subject: [PATCH] fix: Set numpy version requirement to >=1.10.0 and add runtime version info - Set numpy to >=1.10.0,<3.0.0 (minimum for np.stack function, compatible with Python 3.11 and below) - Python 3.12 users will automatically get numpy 1.26.0+ due to compatibility - Add runtime version info for requests, numpy, hnswlib in /version endpoint --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index e36339f..425538a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,5 +9,5 @@ av>=14,<15 lxml filetype requests>=2.0.0,<3.0.0 -numpy>=2.0.0,<3.0.0 +numpy>=1.10.0,<3.0.0 hnswlib>=0.0.0,<1.0.0 \ No newline at end of file