The current version of our project is constrained to use versions of pycountry below <23. We have encountered a deprecation warning related to the use of pkg_resources in pycountry.
Warning Details
The following deprecation warning is triggered:
pycountry/__init__.py:10: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
Relevant Information
This issue has been addressed in pycountry by the following pull requests:
Issue Description
The current version of our project is constrained to use versions of pycountry below <23. We have encountered a deprecation warning related to the use of pkg_resources in pycountry.
Warning Details
The following deprecation warning is triggered:
Relevant Information
This issue has been addressed in pycountry by the following pull requests:
Suggested Action
Updating the project to use a more recent version of pycountry, which incorporates these fixes, should resolve this deprecation warning.
I can help with this issue by creating a PR.