From 433dcea9eeab74b664c0c6d9ac5db8de98053675 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Oct 2026 03:31:44 +0000 Subject: [PATCH 1/2] chore: update chardet requirement from >=4.0.0 to >=7.6.0 Updates the requirements on [chardet](https://github.com/chardet/chardet) to permit the latest version. - [Release notes](https://github.com/chardet/chardet/releases) - [Changelog](https://github.com/chardet/chardet/blob/main/docs/changelog.rst) - [Commits](https://github.com/chardet/chardet/compare/4.0.0...7.6.0) --- updated-dependencies: - dependency-name: chardet dependency-version: 7.6.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 0570772..d6c6700 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ PyQt5>=5.15.2 pywin32>=312; sys_platform == "win32" -chardet>=4.0.0 +chardet>=7.6.0 # psutil 是 fastpip 的依赖。fastpip 已 vendored 到 src/fastpip/(见下方说明), # 不再作为 PyPI 依赖自动带入,因此这里显式声明。 psutil>=7.2.2 From 5c977ff04cfcde5c16fbc5c8b604963d9c1f1115 Mon Sep 17 00:00:00 2001 From: laincat-bot Date: Mon, 12 Oct 2026 14:45:11 +0800 Subject: [PATCH 2/2] fix(deps): retain chardet compatibility with Python 3.9 --- requirements.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index d6c6700..3daa2bc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,8 @@ PyQt5>=5.15.2 pywin32>=312; sys_platform == "win32" -chardet>=7.6.0 +# chardet 6+ requires Python >=3.10. +chardet>=5.2.0,<6; python_version < "3.10" +chardet>=7.6.0; python_version >= "3.10" # psutil 是 fastpip 的依赖。fastpip 已 vendored 到 src/fastpip/(见下方说明), # 不再作为 PyPI 依赖自动带入,因此这里显式声明。 psutil>=7.2.2