python-aiohttp/change-require-chardet-package-version.patch
2022-11-07 16:11:53 +08:00

23 lines
684 B
Diff

diff -Nur a/aiohttp.egg-info/requires.txt b/aiohttp.egg-info/requires.txt
--- a/aiohttp.egg-info/requires.txt 2021-03-07 04:59:20.000000000 +0800
+++ b/aiohttp.egg-info/requires.txt 2022-11-07 15:55:07.214419948 +0800
@@ -1,5 +1,5 @@
attrs>=17.3.0
-chardet<5.0,>=2.0
+chardet<=5.0,>=2.0
multidict<7.0,>=4.5
async_timeout<4.0,>=3.0
yarl<2.0,>=1.0
diff -Nur a/setup.py b/setup.py
--- a/setup.py 2021-03-07 04:59:13.000000000 +0800
+++ b/setup.py 2022-11-07 15:55:46.671059857 +0800
@@ -66,7 +66,7 @@
install_requires = [
"attrs>=17.3.0",
- "chardet>=2.0,<5.0",
+ "chardet>=2.0,<=5.0",
"multidict>=4.5,<7.0",
"async_timeout>=3.0,<4.0",
"yarl>=1.0,<2.0",