Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
2 parents c857011 + deebc69 commit eeedd79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/momento/internal/_utilities/_momento_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import importlib_metadata

momento_version = importlib_metadata.Distribution.from_name("momento").version # type: ignore[no-untyped-call,misc]
except ImportError:
except (ImportError, ModuleNotFoundError):
# For python >= 3.8
from importlib.metadata import version # type: ignore[import]

Expand Down

0 comments on commit eeedd79

Please sign in to comment.