Skip to content

Latest fail2ban in trunk is broken with python 3.12 #392

Description

@jfqd

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.

Activity

  1. self-assigned this
    on Sep 17, 2024
  2. jperkin commented on Sep 17, 2024

    @jperkin
    Collaborator

    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!

  3. jfqd commented on Sep 21, 2024

    @jfqd
    Author

    @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?

  4. jfqd commented on Dec 22, 2024

    @jfqd
    Author

    @jperkin Are there any reasons why fail2ban 1.1.0 is not yet in trunk?

  5. added a commit that references this issue on Jan 28, 2025
    a33e208
  6. added a commit that references this issue on Sep 19, 2025
  7. 3 remaining items

  8. added a commit that references this issue on Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions