Closed tok3rat0r closed 1 year ago
With newer versions of Python, use of pkg_resources raises a DeprecationWarning (see for example here and here). From Python 3.8 onward we can instead use importlib.metadata, which provides the version method directly.
pkg_resources
DeprecationWarning
importlib.metadata
version
With newer versions of Python, use of
pkg_resources
raises aDeprecationWarning
(see for example here and here). From Python 3.8 onward we can instead useimportlib.metadata
, which provides theversion
method directly.