mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Migrate to UV (#1748)
* Switch to using `uv` for dependency management and update related project workflows and scripts * Expand contributing documentation with instructions for using `uv`, including dependency management, testing, linting, and docs workflows. * Add changelog entry for migration to `uv` for dependency management and workflows
This commit is contained in:
parent
7201e82238
commit
ce4ddb77f4
9 changed files with 3203 additions and 149 deletions
|
|
@ -679,6 +679,6 @@ class Dispatcher(Router):
|
|||
if sys.version_info >= (3, 11):
|
||||
with asyncio.Runner(loop_factory=uvloop.new_event_loop) as runner:
|
||||
return runner.run(coro)
|
||||
else:
|
||||
else: # pragma: no cover
|
||||
uvloop.install()
|
||||
return asyncio.run(coro)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue