From 0775dfc6b2a65d56b0f0e0087066853401c79124 Mon Sep 17 00:00:00 2001 From: David Robertson Date: Tue, 29 Mar 2022 14:24:30 +0100 Subject: [PATCH] Add missing dependency on importlib_metadata Missed in #12088. --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index abc2274a790a..b231f48a0e10 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -168,6 +168,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