File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed
Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 55import socket
66
77import aiohttp
8- import async_timeout
8+ import sys
9+
10+ if sys .version_info >= (3 , 11 ):
11+ import asyncio as async_timeout
12+ else :
13+ import async_timeout
914
1015from . import exceptions
1116
Original file line number Diff line number Diff line change 88from typing import Optional , Literal
99
1010import aiohttp
11- import async_timeout
11+ import sys
12+
13+ if sys .version_info >= (3 , 11 ):
14+ import asyncio as async_timeout
15+ else :
16+ import async_timeout
1217
1318from . import exceptions
1419
Original file line number Diff line number Diff line change 2121 license = "MIT" ,
2222 install_requires = [
2323 "aiohttp<4" ,
24- " async_timeout>4,<5" ,
24+ ' async_timeout; python_version < "3.11"' ,
2525 ],
2626 packages = ["hole" ],
2727 python_requires = ">=3.9" ,
You can’t perform that action at this time.
0 commit comments