summary refs log tree commit diff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <oliverw@matrix.org>2022-10-07 15:16:05 +0100
committerOlivier Wilkinson (reivilibre) <oliverw@matrix.org>2022-10-07 15:16:05 +0100
commit8de5c59fd3663fa55d0a6a939f35f6de0fc8bf01 (patch)
treec213e8b1c16334ba310d1b9e50f1625197303aca /pyproject.toml
parentBump msgpack from 1.0.3 to 1.0.4 (#14040) (diff)
downloadsynapse-8de5c59fd3663fa55d0a6a939f35f6de0fc8bf01.tar.xz
Use uvloop as an asyncio reactor event loop
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml4
1 files changed, 4 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml

index 5e36baf40d..7634af8ba8 100644 --- a/pyproject.toml +++ b/pyproject.toml
@@ -207,6 +207,7 @@ hiredis = { version = "*", optional = true } Pympler = { version = "*", optional = true } parameterized = { version = ">=0.7.4", optional = true } idna = { version = ">=2.5", optional = true } +uvloop = { version = ">=0.17.0", optional = true } [tool.poetry.extras] # NB: Packages that should be part of `pip install matrix-synapse[all]` need to be specified @@ -229,6 +230,7 @@ redis = ["txredisapi", "hiredis"] # Required to use experimental `caches.track_memory_usage` config option. cache_memory = ["pympler"] test = ["parameterized", "idna"] +uvloop = ["uvloop"] # The duplication here is awful. I hate hate hate hate hate it. However, for now I want # to ensure you can still `pip install matrix-synapse[all]` like today. Two motivations: @@ -260,6 +262,8 @@ all = [ "txredisapi", "hiredis", # cache_memory "pympler", + # uvloop + "uvloop", # omitted: # - test: it's useful to have this separate from dev deps in the olddeps job # - systemd: this is a system-based requirement