From 8136ffb1eb0154a005f354da94d5c019f59de212 Mon Sep 17 00:00:00 2001 From: Sergey Fedoseev Date: Fri, 7 Jun 2024 13:48:07 +0400 Subject: [PATCH] Always use stdlib importlib.metadata --- gendocs/build.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gendocs/build.py b/gendocs/build.py index a9bce7ca5d4..3f4bebee395 100755 --- a/gendocs/build.py +++ b/gendocs/build.py @@ -2,11 +2,7 @@ import subprocess import sys - -try: - from importlib import metadata -except ImportError: - import importlib_metadata as metadata +from importlib import metadata try: from pip._internal import main as pipmain