import sys
-# TODO(fungi) Clean up once Python 3.6 is the oldest interpreter supported
-if not hasattr(__builtins__, 'ModuleNotFoundError'):
- ModuleNotFoundError = ImportError
# TODO(fungi) Clean up once Python 3.8 is the oldest interpreter supported
try:
import importlib.metadata