dhimmel / obonet

OBO-formatted ontologies → networkx (Python 3)
https://github.com/dhimmel/obonet/blob/main/examples/go-obonet.ipynb
Other
136 stars 28 forks source link

Get version without deprecation warnings #29

Closed bgyori closed 3 months ago

bgyori commented 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.

dhimmel commented 3 months ago

Release 1.1.0 now on PyPI contains the merged commit.