Skip to content

Commit f89453e

Browse files
authored
Pin cchardet version and add qualifiers (#1726)
1 parent 2cf26af commit f89453e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ speed = [
5757
"orjson>=3.5.4",
5858
"aiodns>=1.1",
5959
"Brotlipy",
60-
"cchardet",
60+
# cchardet does not support 3.10+, see https://github.com/PyYoshi/cChardet/pull/78
61+
"cchardet>=2.1.5,<=2.1.7; python_version<'3.10'",
6162
]
6263

6364
[tool.setuptools]

0 commit comments

Comments
 (0)