You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It uses asyncore which has been deprecated since python3.6.
Running the example warns that it will soon be removed:
$ python3 swmr_inotify_example.py
/projects/h5py/examples/swmr_inotify_example.py:20: DeprecationWarning: The asyncore module is deprecated and will be removed in Python 3.12. The recommended replacement is asyncio
import asyncore
This is further complicated because pyinotify itself seems to be dead. There are a few different inotify interfaces out there, but it looks like the cross-platform watchdog package might be the most actively maintained & widely used.
h5py provides the example swmr_inotify_example.py
It uses asyncore which has been deprecated since python3.6.
Running the example warns that it will soon be removed:
Evidently asyncio should be used instead.
See also https://peps.python.org/pep-0594/#deprecated-modules
The text was updated successfully, but these errors were encountered: