From patchwork Fri Apr 4 19:17:02 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41302 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 61E6827BBE2; Fri, 4 Apr 2025 20:20:01 +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=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 A68F127BBE9 for ; Fri, 4 Apr 2025 20:20:00 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u0mZN-0007Ir-Vo; Fri, 04 Apr 2025 15:19:14 -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 ) id 1u0mZI-0007CN-8h for guix-patches@gnu.org; Fri, 04 Apr 2025 15:19:08 -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 ) id 1u0mZG-0007xR-Po for guix-patches@gnu.org; Fri, 04 Apr 2025 15:19:07 -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:References:In-Reply-To:Date:From:To:Subject; bh=lLtJ/xcCmMlwzsTs2JRUixO64Sa3B/eOdlEMAZBVek4=; b=cswyxVpzu2WSMIAy0GDFkRubyAc/0B/4/sk1LYDCpUD0tqxgEbqAMRZfT9CWlqxJ5JLEfmbIvqUrDby/HCDjACs22H1S+0gjPysLAt13nCxMmuMj5hkC7+/AFipaCKCVF367Wy/KroZXJZDR57oZE19/Iz5Re5HU/yPI8v26wRU5ajD2d7EKCKDPxr7q2Sux83BcmYROfKxHN5f4lCCPaGA7RFyABnuXprWMJ7kkyBT2gx+cEozw/bpjVcWPP0FHSQqHNMZf/RxRLcj5psSoPsqhQNUjTI4wpmBrUbLJFW/YzNrynS4iyT9FGT561CP/htjBciLt+KQBk31GT1MPzg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u0mZG-0007Rh-K7 for guix-patches@gnu.org; Fri, 04 Apr 2025 15:19:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77541] [PATCH 30/38] gnu: python-crontab: Update to 3.2.0. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 04 Apr 2025 19:19:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77541 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77541@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 77541-submit@debbugs.gnu.org id=B77541.174379431628440 (code B ref 77541); Fri, 04 Apr 2025 19:19:06 +0000 Received: (at 77541) by debbugs.gnu.org; 4 Apr 2025 19:18:36 +0000 Received: from localhost ([127.0.0.1]:40126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u0mYl-0007Oc-VV for submit@debbugs.gnu.org; Fri, 04 Apr 2025 15:18:36 -0400 Received: from 8.mo562.mail-out.ovh.net ([46.105.60.65]:51159) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u0mY0-0007He-V2 for 77541@debbugs.gnu.org; Fri, 04 Apr 2025 15:17:49 -0400 Received: from director1.derp.mail-out.ovh.net (director1.derp.mail-out.ovh.net [51.68.80.175]) by mo562.mail-out.ovh.net (Postfix) with ESMTPS id 4ZTpK76WMwz1dQ4; Fri, 4 Apr 2025 19:17:47 +0000 (UTC) Received: from director1.derp.mail-out.ovh.net (director1.derp.mail-out.ovh.net. [127.0.0.1]) by director1.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <77541@debbugs.gnu.org>; Fri, 4 Apr 2025 19:17:47 +0000 (UTC) Received: from mta7.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.109.139.44]) by director1.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZTpK74v64zHcF1; Fri, 4 Apr 2025 19:17:47 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.4]) by mta7.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 264D9C3966; Fri, 4 Apr 2025 19:17:47 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-113S007b7af7a86-c818-425b-9933-62d31b47ab80, 5C763BAE2B049B0552D0CEA89988AE409CD35AAA) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Fri, 4 Apr 2025 21:17:02 +0200 Message-ID: <20250404191717.32747-30-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250404191717.32747-1-ngraves@ngraves.fr> References: <20250404191717.32747-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 3484378738525790946 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduledvvdeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepffekgffhkedttdfgkeegfeeifedvgeejhefhfeelgfdtgeegleeviedvgeeufedvnecuffhomhgrihhnpehgihhtlhgrsgdrtghomhenucfkphepuddvjedrtddrtddruddpledtrdelvddruddujedrudeggeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjeejheegudesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpoffvtefjohhsthepmhhoheeivdgmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=lLtJ/xcCmMlwzsTs2JRUixO64Sa3B/eOdlEMAZBVek4=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1743794268; v=1; b=hnAczeT4AWWj4Wj5VDuUXOZwRa0pp+6wLkF8tD+gWHykVb2looQ59adRuMVPODPns48Tv3BA sTiiCeYanW893bEauY03dHw6Xrc2ibu1IG8DN+6IZThIqTeVEHXbnXPaP95HGKA+M0kuznZQQcW LgVoqkiWPN0lKppBu9AbT7apJ4+MGGUOge5EO4c8mLw7pu/x0Q39N1A5T2na8hmYS47mV6Q45gY pkH7V4Q90/Alh58ntrjVeiyOqSnJdn/wl7Xz4JNCFkkcN+dJIOdFsEzsmjtU7ESPbxdrEhewh61 w9O2ImkZFGXxKAGnDN8fUT/wrS42FBYa6iyNxz7mG264w== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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): Update to 3.2.0. [build-system]: Switch to pyproject. [arguments]{test-flags}: Ignore test. {phases}: Remove phase 'disable-failing-tests. Add phase default-to-mcron. [inputs]: Add mcron. [native-inputs]: Add python-pytest, python-setuptools, python-wheel. --- gnu/packages/python-xyz.scm | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b526c6161a..e63e41ba18 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -231,6 +231,7 @@ (define-module (gnu packages python-xyz) #:use-module (gnu packages gsasl) #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) + #:use-module (gnu packages guile-xyz) #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages icu4c) #:use-module (gnu packages image) @@ -31789,32 +31790,29 @@ (define-public python-croniter (define-public python-crontab (package (name "python-crontab") - (version "3.0.0") + (version "3.2.0") (source (origin (method url-fetch) (uri (pypi-uri name version)) (sha256 - (base32 "0yd3vdhl7z8lxa30czsry65srha51ppdcwnhjgxx9pwx0djp9yvr")))) - (build-system python-build-system) + (base32 "0sy3qlki43n6qmhzzzyya4wcs50mcp3mg1ddn9h39plsscfps1j0")))) + (build-system pyproject-build-system) (arguments - (list - #:phases - #~(modify-phases %standard-phases - (add-before 'check 'disable-failing-tests - (lambda _ - (substitute* '("tests/test_compatibility.py" - "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"))))))) + (list #:test-flags + ;; This test is made for Windows. + #~(list "-k" "not test_07_non_posix_shell") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'defaults-to-mcron + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "crontab.py" + (("/usr/bin/crontab") + (search-input-file inputs "bin/crontab")))))))) (inputs - (list python-dateutil)) + (list mcron python-dateutil)) + (native-inputs + (list python-pytest python-setuptools python-wheel)) (home-page "https://gitlab.com/doctormo/python-crontab/") (synopsis "Module for reading and writing crontab files") (description "This Python module can read, write crontab files, and