Message ID | 20250425201230.12492-1-rodion@goritskov.com |
---|---|
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id DC1D727BC4B; Fri, 25 Apr 2025 21:14:38 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A71B527BC49 for <patchwork@mira.cbaines.net>; Fri, 25 Apr 2025 21:14:37 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1u8PR7-00041S-G2; Fri, 25 Apr 2025 16:14:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1u8PQz-00040O-21 for guix-patches@gnu.org; Fri, 25 Apr 2025 16:14:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1u8PQx-0003pz-3R for guix-patches@gnu.org; Fri, 25 Apr 2025 16:14:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=z8xu1GyIIevdzOcGi4frxLMsfa+Yej5j0yMn/07ihNI=; b=d5PkTItrc9dv/3b3ySEQ/gwY5+uMgh15NzhvxPS3sOeLEU6r5oNMOg39b9Elf3ZlZPbzdGzalFLWyF1VfUjnWd7sL3PNFHS8QBVRZ7nM3xiWoyu0XHazRtuA4vbgbWiNuip+ZChu3a2AsY9cAAeBjsJmprgBt5XscTUY5rm6r/7e5667/P9HrFPjvSgXu3LQQuJyzQWeZ/kZnPgkQ2cmPQSEQMnTPBdbszBEdse0Pwq0Sva7/zNGWRSbfDorklHMzwesQIJkOqBCdYEj22Y+EzpzreZI9da0UzVUCB/JIbWOoQ3Km4uz6HeMwPaV+vgq1mEG8ZmbR5ZOQi4uLSw5gg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1u8PQw-00059M-Fu for guix-patches@gnu.org; Fri, 25 Apr 2025 16:14:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#78066] [PATCH 0/2] Fix fail2ban build Resent-From: Rodion Goritskov <rodion@goritskov.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Apr 2025 20:14:02 +0000 Resent-Message-ID: <handler.78066.B.174561200319634@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 78066 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78066@debbugs.gnu.org Cc: Rodion Goritskov <rodion@goritskov.com> X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174561200319634 (code B ref -1); Fri, 25 Apr 2025 20:14:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Apr 2025 20:13:23 +0000 Received: from localhost ([127.0.0.1]:53585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1u8PQJ-00056Z-1A for submit@debbugs.gnu.org; Fri, 25 Apr 2025 16:13:23 -0400 Received: from lists.gnu.org ([2001:470:142::17]:33180) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <rodion@goritskov.com>) id 1u8PQE-00055Z-PL for submit@debbugs.gnu.org; Fri, 25 Apr 2025 16:13:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <rodion@goritskov.com>) id 1u8PQ8-0003tA-8P for guix-patches@gnu.org; Fri, 25 Apr 2025 16:13:12 -0400 Received: from mail.goritskov.com ([65.108.121.176]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <rodion@goritskov.com>) id 1u8PQ5-0003fU-SP for guix-patches@gnu.org; Fri, 25 Apr 2025 16:13:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=goritskov.com; s=04012025; t=1745611984; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=z8xu1GyIIevdzOcGi4frxLMsfa+Yej5j0yMn/07ihNI=; b=n1+CFAIKvFLKZk1vvP67lZRNyGYSQ7UAuA77vu6JGkuVR1Czkwq3kL6KyUDL9FMzAmrlEI mwn92lHZfxH2dB5OgLyi0IlH9QdJgfNFMGu8sI5ZW+LSyB71H6wQ6FnY+0ELfZ4iQskDEt eqwqIUelJQajHXjyVpMixcB8kqePbOg= Received: from bumblebee-old.fritz.box (port-92-196-240-221.dynamic.as20676.net [92.196.240.221]) by mail.goritskov.com (OpenSMTPD) with ESMTPSA id d281ea62 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 25 Apr 2025 20:13:04 +0000 (UTC) Date: Fri, 25 Apr 2025 22:12:30 +0200 Message-ID: <20250425201230.12492-1-rodion@goritskov.com> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=65.108.121.176; envelope-from=rodion@goritskov.com; helo=mail.goritskov.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Reply-to: Rodion Goritskov <rodion@goritskov.com> X-ACL-Warn: , Rodion Goritskov via Guix-patches <guix-patches@gnu.org> From: Rodion Goritskov via Guix-patches via <guix-patches@gnu.org> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
Fix fail2ban build
|
|
Message
Rodion Goritskov
April 25, 2025, 8:12 p.m. UTC
Hi! Currently fail2ban is not building [1] because its test suite is not compatible with Python 3.11. Quick fix is to use Python 3.10 there. Probably I will find some time to update fail2ban package in the nearest future (because it is quite old now, four years passed already). However, I think it is good to have the current version building for now. [1] - https://issues.guix.gnu.org/77996 Rodion Goritskov (2): gnu: python: Export wrap-python3. gnu: fail2ban: Build with Python 3.10. gnu/packages/admin.scm | 3 ++- gnu/packages/python.scm | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)
Comments
Hi Rodion! I think the issue with using a different Python version is that I'm not sure it behaves well in a profile, since python packages are propagated. Maybe the CLI might work well, but importing python modules would probably be broken. If it's only the tests that are broken, maybe it's better to ignore failing tests? Or even better : simply update the package to a more recent version. I get the impression that it should work well from https://github.com/fail2ban/fail2ban/releases/tag/1.1.0 I'll see if such an update fixes your issue, if yes I'll send an update here.
I managed to get tests to pass properly with an update and minimal changes (but a change in the build-system [1], I still have to replace the install phase to avoid a world-rebuild). The subject with fail2ban is that there's also a complete config, and since I'm not a user, I'm not sure everything will work well there. But let's update it, and modify the fail2ban configuration if things have changed there. See you in a few minutes/hours when I'll send an updated patch series! [1]: https://lists.gnu.org/archive/html/guix-devel/2025-04/msg00332.html On 2025-04-26 16:59, Nicolas Graves via Guix-patches via wrote: > Hi Rodion! > > I think the issue with using a different Python version is that I'm not > sure it behaves well in a profile, since python packages are propagated. > Maybe the CLI might work well, but importing python modules would > probably be broken. > > If it's only the tests that are broken, maybe it's better to ignore > failing tests? > > Or even better : simply update the package to a more recent version. I > get the impression that it should work well from > https://github.com/fail2ban/fail2ban/releases/tag/1.1.0 > > I'll see if such an update fixes your issue, if yes I'll send an update > here.