diff -Naur fail2ban-0.11.2.orig/setup.py fail2ban-0.11.2/setup.py --- fail2ban-0.11.2.orig/setup.py 2020-11-23 21:43:03.000000000 +0100 +++ fail2ban-0.11.2/setup.py 2021-10-30 21:08:31.199168000 +0200 @@ -41,9 +41,7 @@ from distutils.command.install_scripts import install_scripts try: # python 3.x - from distutils.command.build_py import build_py_2to3 - from distutils.command.build_scripts import build_scripts_2to3 - _2to3 = True + _2to3 = False except ImportError: # python 2.x _2to3 = False @@ -186,7 +184,7 @@ if setuptools: setup_extra = { 'test_suite': "fail2ban.tests.utils.gatherTests", - 'use_2to3': True, + 'use_2to3': False, } else: setup_extra = {}