Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +20 -17
requirements.txt
CHANGED
|
@@ -1,17 +1,20 @@
|
|
| 1 |
-
# 🔒 P0安全修复:依赖版本锁定,防止供应链攻击和不兼容更新
|
| 2 |
-
fastapi==0.104.1
|
| 3 |
-
uvicorn==0.24.0
|
| 4 |
-
pydantic==2.5.2
|
| 5 |
-
huggingface_hub==0.19.4
|
| 6 |
-
datasets==2.15.0
|
| 7 |
-
python-multipart==0.0.6
|
| 8 |
-
alibabacloud_dysmsapi20170525==2.0.24
|
| 9 |
-
sqlalchemy==2.0.23
|
| 10 |
-
psycopg2-binary==2.9.9
|
| 11 |
-
httpx==0.25.2
|
| 12 |
-
python-alipay-sdk==3.1.0
|
| 13 |
-
aiofiles==23.2.1
|
| 14 |
-
# 🚀 P2优化:速率限制
|
| 15 |
-
slowapi==0.1.9
|
| 16 |
-
# 🔒 P0安全增强:bcrypt密码哈希
|
| 17 |
-
bcrypt==4.1.2
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 🔒 P0安全修复:依赖版本锁定,防止供应链攻击和不兼容更新
|
| 2 |
+
fastapi==0.104.1
|
| 3 |
+
uvicorn==0.24.0
|
| 4 |
+
pydantic==2.5.2
|
| 5 |
+
huggingface_hub==0.19.4
|
| 6 |
+
datasets==2.15.0
|
| 7 |
+
python-multipart==0.0.6
|
| 8 |
+
alibabacloud_dysmsapi20170525==2.0.24
|
| 9 |
+
sqlalchemy==2.0.23
|
| 10 |
+
psycopg2-binary==2.9.9
|
| 11 |
+
httpx==0.25.2
|
| 12 |
+
python-alipay-sdk==3.1.0
|
| 13 |
+
aiofiles==23.2.1
|
| 14 |
+
# 🚀 P2优化:速率限制
|
| 15 |
+
slowapi==0.1.9
|
| 16 |
+
# 🔒 P0安全增强:bcrypt密码哈希
|
| 17 |
+
bcrypt==4.1.2
|
| 18 |
+
# 🔧 P0修复:解决 Alipay SDK 底层加密库(cryptography/pyOpenSSL)版本冲突
|
| 19 |
+
pyOpenSSL==23.3.0
|
| 20 |
+
cryptography==41.0.7
|