Subject: [bug#78066] [PATCH 2/2] gnu: fail2ban: Build with Python 3.10.

From: Rodion Goritskov <[email-masked]>
Date: Fri, 25 Apr 2025 22:18:09 +0200

* gnu/packages/admin.scm (fail2ban): Change Python version used to 3.10 to fix
test problems.

Change-Id: I67d2cf3c465ab1639659402d50357395afb35213
---
 gnu/packages/admin.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index d7ae926809..225ae87b06 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -6289,7 +6289,8 @@ (define-public fail2ban
                         "fail2ban-paths-guix-conf.patch"))))
     (build-system python-build-system)
     (arguments
-     '(#:phases (modify-phases %standard-phases
+     `(#:python ,(wrap-python3 python-3.10)
+       #:phases (modify-phases %standard-phases
                   (add-before 'build 'invoke-2to3
                     (lambda _
                       (invoke "./fail2ban-2to3")))
-- 
2.49.0