Don't limit use of importlib-metadata to Python < 3.8

importlib-metadata is a rolling backport of importlib.metadata from
stdlib. Some people might want to use it to take advantage of new
functionality [1]. We shouldn't prevent them doing so. This is very
similar to what lifeless for the mock library - itself a rolling
backport - in change Iff09ab8c5ee4c2f0cf88596f084d6b5b340be8d8.

[1] https://pypi.org/project/importlib-metadata/#compatibility

Change-Id: I5febaed02e95ff27accd946abc32f3bcbb1a5ead
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane
2022-05-25 17:21:18 +01:00
parent 7ac0e63183
commit 5fab5913b5

View File

@@ -79,7 +79,9 @@ httplib2 # MIT
httpx # BSD
hvac # Apache-2.0
icalendar # BSD
importlib-metadata;python_version<'3.8' # Apache-2.0
# Do not make importlib-metadata conditional on Python version: we depend on
# newer code than in [most] releases of the Python std library.
importlib-metadata # Apache-2.0
infinisdk # BSD-3
influxdb!=5.3.0 # MIT
ironic-lib!=4.6.0 # Apache-2.0