Add missing dependency on importlib_metadata (#12384)

This commit is contained in:
David Robertson 2022-04-05 19:25:56 +01:00 committed by GitHub
parent 7ec9b06303
commit 573cd0f92f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 1 deletions

View file

@ -89,6 +89,9 @@ REQUIREMENTS = [
"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>=1.4",
]
CONDITIONAL_REQUIREMENTS = {