This library is broken with Python 3.12 because of removed asyncore module
27f4772d425a ~ # python3.12 pyinotify-0.9.6/python3/pyinotify.py -h
Traceback (most recent call last):
File "/root/pyinotify-0.9.6/python3/pyinotify.py", line 71, in <module>
import asyncore
ModuleNotFoundError: No module named 'asyncore'
Python 3.11 prints this warning:
27f4772d425a ~ # python3.11 pyinotify-0.9.6/python3/pyinotify.py -h
/root/pyinotify-0.9.6/python3/pyinotify.py:71: DeprecationWarning: The asyncore module is deprecated and will be removed in Python 3.12. The recommended replacement is asyncio
import asyncore
Usage: pyinotify.py [options] [path1] [path2] [pathn]
This library is broken with Python 3.12 because of removed
asyncore
modulePython 3.11 prints this warning: