Narrow the `importlib_metadata` dependency (#12400)

This commit is contained in:
David Robertson 2022-04-06 17:37:56 +01:00 committed by GitHub
parent 6fe757d69e
commit 2cf74cf2fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/12400.misc Normal file
View File

@ -0,0 +1 @@
Make missing `importlib_metadata` dependency explicit.

View File

@ -91,7 +91,7 @@ REQUIREMENTS = [
"packaging>=16.1", "packaging>=16.1",
# At the time of writing, we only use functions from the version `importlib.metadata` # 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. # 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 = { CONDITIONAL_REQUIREMENTS = {