Closed bgyori closed 3 months ago
The line from pkg_resources import DistributionNotFound, get_distribution produces deprecation warnings (see https://setuptools.pypa.io/en/latest/pkg_resources.html). This PR implements a variant for Python 3.8+ that avoids these deprecations.
from pkg_resources import DistributionNotFound, get_distribution
Release 1.1.0 now on PyPI contains the merged commit.
1.1.0
The line
from pkg_resources import DistributionNotFound, get_distribution
produces deprecation warnings (see https://setuptools.pypa.io/en/latest/pkg_resources.html). This PR implements a variant for Python 3.8+ that avoids these deprecations.