Remove importlib-metadata from requirements

We don't need it anymore as we don't support python < 3.8
Also it was removed from global requirements so it breaks the
requirements check.

Change-Id: Ia12cbef3515f823fdd627a36020cf7801bf6d734
This commit is contained in:
Riccardo Pittau 2022-06-20 17:32:39 +02:00
parent 9dca97736f
commit 1356157ec8
2 changed files with 1 additions and 7 deletions

View File

@ -13,11 +13,6 @@
# License for the specific language governing permissions and limitations
# under the License.
try:
# For Python 3.8 and later
import importlib.metadata as importlib_metadata
except ImportError:
# For everyone else
import importlib_metadata
from importlib import metadata as importlib_metadata
__version__ = importlib_metadata.version("ironic_python_agent")

View File

@ -2,7 +2,6 @@
# of appearance. Changing the order has an impact on the overall integration
# 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
eventlet!=0.18.3,!=0.20.1,>=0.18.2 # MIT
netifaces>=0.10.4 # MIT
oslo.config>=5.2.0 # Apache-2.0