From 4551f8d566f9d6b3f057e57ba781ae6154fb1497 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Sun, 5 Jul 2020 15:33:01 -0400 Subject: [PATCH] importlib-metadata: add python version rule We only want to install the separate importlib-metadata for python versions < 3.8. Otherwise, we want to use the standard library version of the package. Adding this rule allows consumers of importlib-metadata to specify the same rule to accurately reflect their dependencies. Change-Id: Ic6db7af34c87a636bfe55bacae03c42154f4b9c7 Signed-off-by: Doug Hellmann --- global-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global-requirements.txt b/global-requirements.txt index 3156a48c71..afa752d392 100644 --- a/global-requirements.txt +++ b/global-requirements.txt @@ -74,7 +74,7 @@ horizon # Apache-2.0 httplib2 # MIT hvac # Apache-2.0 icalendar # BSD -importlib-metadata # Apache-2.0 +importlib-metadata;python_version<'3.8' # Apache-2.0 infinisdk # BSD-3 influxdb!=5.3.0 # MIT ironic-lib # Apache-2.0