pkg_resources has been deprecated but we only use it to fetch bugsnag-python's version number for the notifier part of the payload. We can encode this in the source to avoid depending on this module. This also removes a couple of possible (though unlikely in practice) failure cases that would result in no version being sent
Goal
pkg_resources
has been deprecated but we only use it to fetch bugsnag-python's version number for thenotifier
part of the payload. We can encode this in the source to avoid depending on this module. This also removes a couple of possible (though unlikely in practice) failure cases that would result in no version being sentSee the warning in the docs: https://setuptools.pypa.io/en/latest/pkg_resources.html