Bump uvloop to v0.19

This commit is contained in:
monosans
2023-10-23 01:12:54 +03:00
parent 961aa000a3
commit de87fbafcd
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -39,4 +39,4 @@ repos:
additional_dependencies:
- aiohttp<4
- rich<14
- uvloop<0.19; implementation_name == "cpython" and (sys_platform == "darwin" or sys_platform == "linux")
- uvloop<0.20; implementation_name == "cpython" and (sys_platform == "darwin" or sys_platform == "linux")
+1 -3
View File
@@ -24,9 +24,7 @@ def set_event_loop_policy() -> None:
except ImportError:
pass
else:
asyncio.set_event_loop_policy(
uvloop.EventLoopPolicy() # type: ignore[attr-defined]
)
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
def configure_logging(console: Console, *, debug: bool) -> None:
+1 -1
View File
@@ -2,4 +2,4 @@ aiodns>=3.0,<4
aiohttp-socks>=0.7,<0.9
aiohttp>=3.8,<4
rich>=12.3,<14
uvloop>=0.16,<0.19; implementation_name == "cpython" and (sys_platform == "darwin" or sys_platform == "linux")
uvloop>=0.16,<0.20; implementation_name == "cpython" and (sys_platform == "darwin" or sys_platform == "linux")