python_requirements_info: use importlib.metadata when available (#11495)

Use importlib.metadata when available.
This commit is contained in:
Felix Fontein
2026-02-10 22:44:06 +01:00
committed by GitHub
parent 63ddca7f21
commit 88adca3fb4
3 changed files with 34 additions and 12 deletions

View File

@@ -158,6 +158,8 @@ ignore_missing_imports = True
ignore_missing_imports = True
[mypy-pingdom.*]
ignore_missing_imports = True
[mypy-pkg_resources.*]
ignore_missing_imports = True
[mypy-portage.*]
ignore_missing_imports = True
[mypy-potatoes_that_will_never_be_there.*]