Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Narrow the importlib_metadata dependency #12400

Merged
merged 2 commits into from
Apr 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/12400.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Make missing `importlib_metadata` dependency explicit.
2 changes: 1 addition & 1 deletion synapse/python_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"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",
"importlib_metadata>=1.4 ; python_version < '3.8'",
]

CONDITIONAL_REQUIREMENTS = {
Expand Down