From patchwork Sun Nov 10 20:54:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: TakeV X-Patchwork-Id: 70209 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 02D6F27BBEA; Sun, 10 Nov 2024 20:57:29 +0000 (GMT) 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 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 4196E27BBE2 for ; Sun, 10 Nov 2024 20:57:28 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAEzl-0005EB-7f; Sun, 10 Nov 2024 15:57:17 -0500 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 ) id 1tAEzi-0005Ds-9m for guix-patches@gnu.org; Sun, 10 Nov 2024 15:57:14 -0500 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 ) id 1tAEzi-0005U4-1M; Sun, 10 Nov 2024 15:57:14 -0500 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=LqNkfK2l16Vn4Qoywkbs6FCtR1yZBgqsUANq1HxAXmA=; b=NGu3rOKCZwKH/jY069D1kqUtzwG2BsvWH4tZmndEfzdIHQd9InJ1zMMil8viJC/y9yELrO3LZBfp07+FEp6whgrTTBpw7+58NW7jfH6K8vj/AwJT1hdMCdmKScgmNXML+PGM6U5VZ3FaMj6UX0/uwf/ZP/LjmL9F2xLtP6BQ8T2EmlEZ4wdh5YBqF8siOEaqo263KXS3cvt+ti+jkgvGgN1h1wwvTLvXMas6xKz76XGEVNVNUjEHn0JCUn5XYo2s6UGuS+vnAkHQgbQGL5TED0ZgMQbc2lI7o5AtXEAtKqwxpa4Abdx8weCXF9UgbAlxLMslSt9YOTtQOGhuOp7YzQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tAEzW-0005Nb-Gq; Sun, 10 Nov 2024 15:57:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74302] [PATCH] gnu: python-crontab: Fix failing tests Resent-From: TakeV Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Sun, 10 Nov 2024 20:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74302 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74302@debbugs.gnu.org Cc: TakeV , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by submit@debbugs.gnu.org id=B.173127216220586 (code B ref -1); Sun, 10 Nov 2024 20:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Nov 2024 20:56:02 +0000 Received: from localhost ([127.0.0.1]:56841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAEyX-0005Lq-Gn for submit@debbugs.gnu.org; Sun, 10 Nov 2024 15:56:01 -0500 Received: from lists.gnu.org ([209.51.188.17]:43104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAEyU-0005Lf-8Y for submit@debbugs.gnu.org; Sun, 10 Nov 2024 15:55:59 -0500 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 ) id 1tAEyT-0005B6-4M for guix-patches@gnu.org; Sun, 10 Nov 2024 15:55:57 -0500 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tAEyR-0005Pd-BH for guix-patches@gnu.org; Sun, 10 Nov 2024 15:55:56 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 7164725239; Sun, 10 Nov 2024 21:55:50 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id zcEx-JtxwI1N; Sun, 10 Nov 2024 21:55:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1731272146; bh=bbdsNCb6Ylv8QqPZIPS/xezRINodEyB1mhrL5KbTE84=; h=From:To:Cc:Subject:Date; b=Gljs5Rkf1XuuR3D+u50Y3jFgmqboRSTlcetY49grSUfmFubj7HupBFlUiSXS3yzdX le3KalE4NZBaVbybMuiHvqHMj/8HiMcTv8kAKewOPD1hfNtB2SlSOO1MvzwgA9UG5H MNqpSPDZgo1rZRZ5kwJgzygYziegZdDbHHyRNKirFDd1dyg41wlgz1Joy0d6Qz8ACc P4/YL+Cl3skGfV1Bjw0iUw4w7IMvbH92Z1gfQzMUhDfDNqXHfPk51+hH3mGKyiMAhd ABomXOXTgvOn7V4LcbVdPXmS9P3aXMBFwnPhk4TQSzk+yDXfXfTjAjHiDKqZRA22j5 1FTrlTA1nqx+g== Date: Sun, 10 Nov 2024 15:54:43 -0500 Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=178.21.23.139; envelope-from=takev@disroot.org; helo=layka.disroot.org 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: TakeV X-ACL-Warn: , TakeV via Guix-patches X-Patchwork-Original-From: TakeV via Guix-patches via From: TakeV 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 * gnu/packages/python-xyz.scm (python-crontab) [arguments]: Turn off frequency at month check Change-Id: Ia6a8f703119dc61ddc6b359fca161dfb5a21319d --- Apparently this check fails on leap years. gnu/packages/python-xyz.scm | 3 +++ 1 file changed, 3 insertions(+) base-commit: ee3219996b688d2c3336a7ea1e262308cf2d00b7 prerequisite-patch-id: 8e79e3033f6e8ae459eab31d7cf5149a8eb01e9c prerequisite-patch-id: 2442dd8fbe7af78372dbf03871fb6c5506eb75fe diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5083473c08..2d84bfa57e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29547,6 +29547,9 @@ (define-public python-crontab "tests/test_frequency.py") (("test_07_non_posix_shell") "__off_test_07_non_posix_shell") + ;; Fails on leap years + (("test_19_frequency_at_month") + "__off_test_19_frequency_at_month") ;; AssertionError: 48 != 24 (("test_20_frequency_at_year") "__off_test_20_frequency_at_year")))))))