Skip to content

Use importlib.metadata instead of pkg_resources

The CLI uses pkg_resources to detect its own version, but pkg_resources is deprecated and importing it shows a warning in recent versions of setuptools. We can use importlib.metadata.version instead.