aw-watcher-afk
aw-watcher-afk copied to clipboard
build(deps): pynput needs python 3.13
Internal changes to the Python threading library in 3.13 breaks pynput. Likely to be fixed when fixup/listener-thread-handle is merged, but at the moment Python 3.13 will throw this error:
2024-12-26 15:58:58 [ERROR]: Unhandled exception in listener callback (pynput.mouse.Listener:233)
Traceback (most recent call last):
File "/usr/lib/python3.13/site-packages/pynput/_util/__init__.py", line 229, in inner
return f(self, *args, **kwargs)
File "/usr/lib/python3.13/site-packages/pynput/_util/xorg.py", line 470, in _handler
self._handle(self._display_stop, event)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: '_thread._ThreadHandle' object is not callable
Related to activitywatch#1122, pynput#614
[!IMPORTANT] Update Python version constraint in
pyproject.tomlto exclude 3.13 due topynputcompatibility issue.
- Dependencies:
- Update Python version constraint in
pyproject.tomlto^3.8,<3.13due topynputcompatibility issue with Python 3.13.- Reference issue pynput#614 for more details.
This description was created by
for 1f5ac1ff7c2ab1999a7b479ae90dfadb1771ccd2. It will automatically update as commits are pushed.