Closed asi1024 closed 3 months ago
pkg_resources is deprecated. https://setuptools.pypa.io/en/latest/pkg_resources.html
pkg_resources
How about rewriting get_distribution().version to use import_lib.metadata.version() instead, which is available from Python 3.8+?
get_distribution().version
import_lib.metadata.version()
https://docs.python.org/ja/3/library/importlib.metadata.html
/test
pkg_resources
is deprecated. https://setuptools.pypa.io/en/latest/pkg_resources.html