From 803f2fc3adfd7f2831cb5dba5259699fcd4cbc8b Mon Sep 17 00:00:00 2001 From: Justin Gu <97915@qq.com> Date: Fri, 3 Jul 2026 01:33:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(deps):=20bump=20pytest=208.3.5=20->=209.0.3?= =?UTF-8?q?=20=E4=BF=AE=E5=A4=8D=20tmpdir=20=E5=AE=89=E5=85=A8=E6=BC=8F?= =?UTF-8?q?=E6=B4=9E=20(Dependabot=20#1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CVE: pytest <9.0.3 存在临时目录处理安全问题(中等严重程度)。 本地 Python 3.11 venv + pytest 9.0.3 全量测试通过:761 passed, 2 skipped。 pytest 9.0.3 要求 Python>=3.9,满足 CI 矩阵 3.10/3.12/3.13。 --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 4ab8442..cf0d339 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -8,7 +8,7 @@ # 最新 scipy)。升级任一工具时请在本地用 Python 3.10 验证后再提交。 # 测试框架 -pytest==8.3.5 +pytest==9.0.3 pytest-asyncio>=0.23 pytest-cov==7.1.0 coverage==7.14.0