-
-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
incompatibility with python 3.12 #1132
Comments
Hi @slynobody , It seems that Debian's python3-pyinotify is still using the deprecated module asyncore. It has been removed in PEP-594: Last version on Debian Sid is 0.9.6-2 (Sat, 11 Jun 2022 21:27:16). Maybe we need to file a bug report in order to let them know about this error? On our side, I'll try to reproduce and fix it. |
is there a workaround? python3.12 is on sid now replacing 3.11? |
I've just released v1.6.6 with a temporal solution. It should not crash now. |
Fedora "fixed" this issue almost a year ago: |
And now a fix has entered in Debian Sid 🎉
|
Describe the bug
does not work anymore with python 3.12
Include the following information:
To Reproduce
Describe in detail as much as you can what happened.
Steps to reproduce the behavior:
Post error logs:
File "/usr/bin/opensnitch-ui", line 41, in
from opensnitch.service import UIService
File "/usr/lib/python3/dist-packages/opensnitch/service.py", line 18, in
from opensnitch.dialogs.prompt import PromptDialog
File "/usr/lib/python3/dist-packages/opensnitch/dialogs/prompt.py", line 17, in
from opensnitch.desktop_parser import LinuxDesktopParser
File "/usr/lib/python3/dist-packages/opensnitch/desktop_parser.py", line 3, in
import pyinotify
File "/usr/lib/python3/dist-packages/pyinotify.py", line 71, in
import asyncore
ModuleNotFoundError: No module named 'asyncore'
The text was updated successfully, but these errors were encountered: