Files
seal/requirements.txt
hequan2017 7f3821500c fix: 修复 246 个 Dependabot 依赖漏洞
- requirements.txt 由 2019 年 pip freeze 快照重写为直接依赖清单(Python>=3.10)
- Django 2.2.4 -> 5.2.16,DRF 3.9.2 -> 3.17.2,channels 2.2 -> 4.3,celery 4.1 -> 5.5
- 移除代码未使用的 apache-airflow/tornado/GitPython/numpy/thrift/lxml/SQLAlchemy/Mako/Werkzeug/gevent/autobahn/ipython 等历史依赖(含 system/tests.py 中的 airflow 示例)
- 已停维的 django-rest-swagger/DRF coreapi 文档替换为 drf-spectacular
- celery.platforms/C_FORCE_ROOT/CELERYBEAT_SCHEDULE 按 celery 5 规范迁移
- asgi.py 迁移至 channels 4 入口写法;graphene-django 升级至 3.x(schema 增加 fields)
- static/js/jquery-3.1.1.min.js(XSS 漏洞)替换为 jquery-3.7.1 并更新模板引用
2026-09-28 14:12:45 +08:00

45 lines
1.1 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# seal 海豹 CMDB —— 依赖清单(2026-09 安全修复版)
# 说明:原文件为 2019 年的 pip freeze 全量快照,本版改为"直接依赖"清单,
# 传递依赖由 pip 自动解析;运行要求 Python >= 3.10。
# 安全升级:Django 5.2 / DRF 3.17 / channels 4 / celery 5;
# 移除未使用的 apache-airflow、tornado、GitPython、numpy、thrift、
# lxml、SQLAlchemy、Mako、Werkzeug、gevent、autobahn、ipython 等历史依赖。
# Web 框架
Django==5.2.16
djangorestframework==3.17.2
django-filter==25.2
drf-spectacular==0.28.0
django-bootstrap3==25.1
django-pure-pagination==0.3.0
django-simpleui==2024.4.1
django-cors-headers==4.9.0
# GraphQL
graphene-django==3.2.3
# Channels / WebSocket
channels==4.3.1
channels-redis==4.3.0
daphne==4.2.2
Twisted==26.4.0
# Celery 任务队列
celery==5.5.3
django-celery-beat==2.8.1
django-celery-results==2.6.0
python-crontab==3.3.0
# 异步任务
dramatiq==1.18.0
# 数据库
mysqlclient==2.2.7
PyMySQL==1.1.2
# 工具 / 客户端
requests==2.33.0
kubernetes==33.1.0
prettytable==3.16.0
gunicorn==23.0.0