summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-03-29 14:24:30 +0100
committerDavid Robertson <davidr@element.io>2022-03-29 14:24:30 +0100
commitcf6e424ea6ce621278f17e76948733ef3047c038 (patch)
tree9754f2da334801cf1943c87447ae175b1e74d77c
parentFix twisted trunk with sytest (diff)
downloadsynapse-cf6e424ea6ce621278f17e76948733ef3047c038.tar.xz
Add missing dependency on importlib_metadata
Missed in #12088.
-rw-r--r--pyproject.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 84bfcdf951..83b740d2af 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -154,6 +154,9 @@ ijson = ">=3.1.4"
 matrix-common = "~=1.1.0"
 # We need packaging.requirements.Requirement, added in 16.1.
 packaging = ">=16.1"
+# At the time of writing, we only use functions from the version `importlib.metadata`
+# which shipped in Python 3.8. This corresponds to version 1.4 of the backport.
+importlib_metadata = { version = ">=1.4", python = "<3.8" }
 
 
 # Optional Dependencies