-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
Hi,
using this library requires setuptools<81 to be installed, otherwise I get:
from tb_device_mqtt import TBPublishInfo
.venv/lib/python3.12/site-packages/tb_device_mqtt.py:23: in <module>
from utils import install_package
.venv/lib/python3.12/site-packages/utils.py:17: in <module>
from pkg_resources import get_distribution, DistributionNotFound
E ModuleNotFoundError: No module named 'pkg_resources'
Note that I'm a complete noob regarding package publishing, but I thought setuptools is for building python packages - not necessarily required for running/using. However, the usage seems to be deprecated too:
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.
Do you have plans to update the dependency management?
Thanks in advance!
Best regards,
Denise
Metadata
Metadata
Assignees
Labels
No labels