Skip to content

Python 3.12 removed asyncore module #204

@arkamar

Description

@arkamar

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions