Logger: py.warnings
Source: /usr/local/lib/python3.13/warnings.py:110
First occurred: 7:42:02 AM (1 occurrence)
Last logged: 7:42:02 AM
/usr/local/lib/python3.13/site-packages/awsiot/mqtt_connection_builder.py:161: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. import pkg_resources
I believe it started since upgrading to 2025.9, but it may have been happening longer than that.
Any idea what could be causing this and/or how I can start to troubleshoot?
Nothing is broken (yet), but I assume something will when the pkg_resources package is removed in November.
/usr/local/lib/python3.13/site-packages/awsiot/mqtt_connection_builder.py:161: UserWarning: pkg_resources is deprecated as an API. See Package Discovery and Resource Access using pkg_resources - setuptools 80.9.0 documentation. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. import pkg_resources