Closed albertvaka closed 2 months ago
Alternatively, since pkg_resources
is also deprecated, we could depend on importlib_metadata
instead and change the code to:
version = importlib_metadata.version("sinricpro")
Hi @albertvaka
Thanks for letting us know. Haven't looked into 3.12.
Hey @cojmeister are you still working on the PR https://github.com/sinricpro/python-sdk/pull/65 ? If there's nothing else I can I can merge the PR and can take a look at upgrading the master codebase to 3.12.
setuptools
is no longer installed by default in python 3.12: https://github.com/python/cpython/pull/101039_sinricpro_websocket.py
depends on it, causing this exception if not installed:It should be added as an explicity dependency.