Bump uvloop to v0.19
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user