- Package:
- python3-pyinotify
- Source:
- pyinotify
- Submitter:
- Enrico Zini
- Date:
- 2026-01-10 11:41:28 UTC
- Severity:
- important
- Tags:
Hello, thank you for maintaining python3-pyinotify. Looking at https://github.com/dsoprea/PyInotify it says: This project is unrelated to the *PyInotify* project that existed prior to this one (this project began in 2015). That project is defunct and no longer available. and indeed, https://github.com/seb-m/pyinotify which is listed as upstream of python3-pyinotify seems to be stuck in 2015. To the best that I could see, https://github.com/dsoprea/PyInotify is not packaged in Debian. If I understand correctly, the only way to access inotify functionality in Python with libraries in Debian at the moment is via the old pyinotify, and at least gunicorn is requiring the newer one for inotify-based reloading to work: https://docs.gunicorn.org/en/stable/settings.html#reload "In order to use the inotify reloader, you must have the inotify package installed." I guess my next step could be filing an RFP for https://github.com/dsoprea/PyInotify ? Enrico
Hello, I filed the RFP at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004388 Enrico
Why is it defunct? Is it also in Debian? If not this is not a serious bug.
Am 06.07.22 um 21:08 schrieb Enrico Zini:
https://github.com/seb-m/pyinotify "pyinotify" which is upstream for python3-pyinotify in Debian, is dead since 2015. https://github.com/dsoprea/PyInotify "inotify" is not packaged in Debian. Feel free to remove the 'serious' severity. It remains that this package should likely not be used except by obsolete code that we probably shouldn't have in Debian. Enrico
https://github.com/seb-m/pyinotify "pyinotify" which is upstream for python3-pyinotify in Debian, is dead since 2015. https://github.com/dsoprea/PyInotify "inotify" is not packaged in Debian. Feel free to remove the 'serious' severity. It remains that this package should likely not be used except by obsolete code that we probably shouldn't have in Debian. Enrico
There seems to be a newer fork of this codebase at
<https://github.com/lexdene/pyinotify> and
<https://pypi.org/project/pyinotify-elephant-fork/> (I have not reviewed it,
it might be broken or even malicious). If this fork is maintained and
high-quality, then one option would be to switch the upstream of Debian's
python3-pyinotify package to this fork.
The fork removed the asyncore integration completely
<https://github.com/lexdene/pyinotify/commit/dbc19878b3b3e50d9a065c3d5290002eb9b61372>,
which is an API break that addresses #1040102 but would break at least
ganeti.
The maintainer of the fork does not seem to have made any attempt to
address other bugs, so it seems too early to say whether there is going
to be ongoing maintenance.
This is now <https://tracker.debian.org/pkg/python-inotify>.
For packages where a dependency on GLib is acceptable, using python3-gi's
Gio.FileMonitor is another alternative (for example autokey, cinnamon
and mate-hud should probably use that, since their GUI toolkits require
GLib anyway).
The transition to Python 3.12 makes this more urgent, due to
#1075939. I've opened bugs in all reverse-dependencies, and set them to
"block" this bug.
smcv
I've added this here https://wiki.debian.org/Python/Dead%20Batteries & uploaded a fixed "doit". Greetings
Es gibt eine Familienspende in Höhe von 1.850.000,00 USD von Cheng Charlie Saephan. Bitte antworten Sie für weitere Informationen. Denken Sie daran, Ihrer Familie und den Bedürftigen in Ihrer Umgebung Gutes zu tun. Dies ist bereits der zweite Versuch, Sie zu erreichen. Bitte antworten Sie für weitere Details.
Es gibt eine Familienspende in Höhe von 1.850.000,00 USD von Cheng Charlie Saephan. Bitte antworten Sie für weitere Informationen. Denken Sie daran, Ihrer Familie und den Bedürftigen in Ihrer Umgebung Gutes zu tun. Dies ist bereits der zweite Versuch, Sie zu erreichen. Bitte antworten Sie für weitere Details.
Es gibt eine Familienspende in Höhe von 1.850.000,00 USD von Cheng Charlie Saephan. Bitte antworten Sie für weitere Informationen. Denken Sie daran, Ihrer Familie und den Bedürftigen in Ihrer Umgebung Gutes zu tun. Dies ist bereits der zweite Versuch, Sie zu erreichen. Bitte antworten Sie für weitere Details.