[stable-only] Cap importlib-metadata on Python 3.7

In the recently released importlib-metadata 5.0.0 package a number of
breaking changes where made to the interface (in fact that was the only
change for the release removing a bunch of things tagged as deprecated).
Since Python 3.7 depends on this library to function for querying
package metadata these breaking API changes cause anything using
stevedore to fail when 5.0.0 is installed. To workaround these issues
this commit sets a version cap on importlib-metadata to avoid using the
version which is incompatible with stevedore.

Change-Id: I0db3624fcdb50eea4ff039e65456ef6e91c99c48
This commit is contained in:
Matthew Treinish 2022-10-03 11:18:24 -04:00
parent 324af4dd52
commit 056c4ab649
No known key found for this signature in database
GPG Key ID: FD12A0F214C9E177
1 changed files with 1 additions and 1 deletions

View File

@ -3,4 +3,4 @@
# process, which may cause wedges in the gate later.
pbr!=2.1.0,>=2.0.0 # Apache-2.0
importlib_metadata>=1.7.0;python_version<'3.8' # Apache-2.0
importlib_metadata>=1.7.0,<5.0.0;python_version<'3.8' # Apache-2.0