Narrow the importlib_metadata dependency (#12400)

This commit is contained in:
David Robertson authored and GitHub committed 2022-04-06 17:37:56 +01:00
1 parent 6fe757d69e
commit 2cf74cf2fc
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -0,0 +1 @@
Make missing `importlib_metadata` dependency explicit.
+1 -1
View File
@@ -91,7 +91,7 @@ REQUIREMENTS = [
"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 = {