diff options
author | David Robertson <davidr@element.io> | 2022-03-29 14:24:30 +0100 |
---|---|---|
committer | David Robertson <davidr@element.io> | 2022-03-30 17:01:53 +0100 |
commit | 53e804f2963496f529edb2ba6a25eb6e60b59005 (patch) | |
tree | 58852af9f1d5830debfdd271504b6adc22f9b331 | |
parent | DEPS: Specify deps in pyproject.toml (diff) | |
download | synapse-53e804f2963496f529edb2ba6a25eb6e60b59005.tar.xz |
DEPS: Add missing dependency on importlib_metadata
Missed in #12088. We got away with it because we were indirectly importing it in other places. Without this, we encounter pain in `poetry export`; and besides, we should be explicit about our direct dependencies.
-rw-r--r-- | pyproject.toml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml index 44b84fb75e..6f6c1a3545 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -167,6 +167,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 |