Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Bump uvloop to v0.19
Browse files Browse the repository at this point in the history
  • Loading branch information
monosans committed Oct 22, 2023
1 parent 7317d01 commit b6ae8a3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ repos:
- aiofile<4
- 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")
4 changes: 1 addition & 3 deletions nitro_generator_checker/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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) -> None:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ aiofile>=3.8,<4
aiohttp-socks>=0.7,<0.9
aiohttp>=3.8,<4
rich>=12.0,<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")

0 comments on commit b6ae8a3

Please sign in to comment.