diff --git a/pyproject.toml b/pyproject.toml index 844a0277a9..eedc5017c3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,7 +57,8 @@ speed = [ "orjson>=3.5.4", "aiodns>=1.1", "Brotlipy", - "cchardet", + # cchardet does not support 3.10+, see https://github.com/PyYoshi/cChardet/pull/78 + "cchardet>=2.1.5,<=2.1.7; python_version<'3.10'", ] [tool.setuptools]