Skip to content
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

Latest fail2ban in trunk is broken with python 3.12 #392

Open
jfqd opened this issue Sep 16, 2024 · 2 comments
Open

Latest fail2ban in trunk is broken with python 3.12 #392

jfqd opened this issue Sep 16, 2024 · 2 comments
Assignees

Comments

@jfqd
Copy link

jfqd commented Sep 16, 2024

Error message ist: "ERROR No module named 'asynchat'". Got it fixed with:

pkgin in py312-setuptools py312-pip
pip-3.12 install pyasyncore pyasynchat

Maybe you can add the three dependencies setuptools, pyasyncore and pyasynchat to the latest fail2ban build?

Only adding setuptools was not enough, see the comment in this pr.

@jperkin jperkin self-assigned this Sep 17, 2024
@jperkin
Copy link
Collaborator

jperkin commented Sep 17, 2024

Rather than working around the older version, I've updated fail2ban to the latest release which supports python312. Please could you give it a test and let me know if it works as expected?

$ pkg_add -U https://us-central.manta.mnx.io/pkgsrc/public/test-packages/fail2ban-1.1.0.tgz

If it all looks ok I'll commit the update and get it into the trunk repository. Thanks!

@jfqd
Copy link
Author

jfqd commented Sep 21, 2024

@jperkin Thanks a lot for taking the time to update fail2ban! Installed the test package without any issues. Process was restarted and is running.

Will fail2ban update normally or do I need to uninstall the test package and install it again from our regular pkgsrc mirror?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants