From patchwork Fri Apr 4 19:17:01 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41306 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 E7B0527BBE2; Fri, 4 Apr 2025 20:20:10 +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 A50A627BBEB for ; Fri, 4 Apr 2025 20:20:09 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u0mZN-0007Ih-8A; Fri, 04 Apr 2025 15:19: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 ) id 1u0mZI-0007CK-6P 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 1u0mZF-0007xI-S4 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=KNKam4WCJemZAOyPnpur3+CCACUgjwph7Z3RcwK2xbc=; b=c3qfVbWS2FEpy0trpFd27vxkMNROEJk3btqX2QA4K+gjjns9dkmCgnRkWLxVUdc9BPtjhUh6Bj877+kRjG1d1msXAFXTOMViAUAy6iWqqFeE/Rovvwna8uMXyTfZOpKuLBRzW+WT5h3trdFS2gBmdi9KnLWONV16CQ6LkniFHYvNdkUJLLisM5wzdaq5sVJ12Mh48OGpWV6NJn/G2q+WZxdAWhFHAJAgvjYjzirV4KpPpe7qyK+s4AAxymY9TuDPcb10g9Tlg3XEISWfRzBRv/579EqurdaTsgJ3nrgOaf54llim/dPHsnRuK0Fo9K1pMJ3CpkK7GiXu2EeO+IMr1w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u0mZF-0007RS-LU for guix-patches@gnu.org; Fri, 04 Apr 2025 15:19:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77541] [PATCH 29/38] gnu: python-rq: Update to 2.3.1. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 04 Apr 2025 19:19:05 +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.174379429628388 (code B ref 77541); Fri, 04 Apr 2025 19:19:05 +0000 Received: (at 77541) by debbugs.gnu.org; 4 Apr 2025 19:18:16 +0000 Received: from localhost ([127.0.0.1]:40122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u0mYS-0007Ng-80 for submit@debbugs.gnu.org; Fri, 04 Apr 2025 15:18:16 -0400 Received: from 4.mo563.mail-out.ovh.net ([46.105.53.192]:51901) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u0mXz-0007HK-J3 for 77541@debbugs.gnu.org; Fri, 04 Apr 2025 15:17:48 -0400 Received: from director4.derp.mail-out.ovh.net (director4.derp.mail-out.ovh.net [79.137.60.37]) by mo563.mail-out.ovh.net (Postfix) with ESMTPS id 4ZTpK6403bz1VCN; Fri, 4 Apr 2025 19:17:46 +0000 (UTC) Received: from director4.derp.mail-out.ovh.net (director4.derp.mail-out.ovh.net. [127.0.0.1]) by director4.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <77541@debbugs.gnu.org>; Fri, 4 Apr 2025 19:17:46 +0000 (UTC) Received: from mta6.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.110.113.125]) by director4.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZTpK63fcFzyBh; Fri, 4 Apr 2025 19:17:46 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.4]) by mta6.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 296D9D43D38; Fri, 4 Apr 2025 19:17:46 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-102R004ee5fe6d7-d07b-4d0e-990c-9415d4722c5c, 5C763BAE2B049B0552D0CEA89988AE409CD35AAA) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Fri, 4 Apr 2025 21:17:01 +0200 Message-ID: <20250404191717.32747-29-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: 3484097263102386914 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduledvvdeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepueduvdekfeejudduveefjeegveffleekgeffvdeugfehvdffgfeivdekvdeljeeunecuffhomhgrihhnpehphihthhhonhdqrhhqrdhorhhgnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepvddprhgtphhtthhopeejjeehgeduseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdfovfetjfhoshhtpehmohehieefmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=KNKam4WCJemZAOyPnpur3+CCACUgjwph7Z3RcwK2xbc=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1743794266; v=1; b=WMt6JHbBy4ZXd53iUs8lY88b2EDe+/PjsvohkiwW1QSiJSfAfd1EnwjnJgAgkZrrHnLUgVla AnNP1GUfEXDqjlPloBk0v1YeM0Fw6W4XyH0BUxsJL8uUY6vMfdh2J2nkiZ4ZDD2BKyYfF5/ZGvu 50v1PUH2I+4KSVyw3akIGvMnL73Wpl2FzT3b9/iz/dTaOC/DCAginKwGiLQtuXNctc0SLZvRhHT p9BU2X5fBqoYZKwxacUHJYj5kfjWCNzgREcS6TUHDmeBzAWHhH+nzp5Jh4R4QmlVc0Cf1FxdpXZ z93W+2QUihb5E3dy/NhQW57wx5st6+GNowGdSg8bKlCQQ== 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/databases.scm (python-rq): Update to 2.3.1. [build-system]: Switch to pyproject. [arguments]{phases}: Delete 'check phase replacement. Improve style. [native-inputs]: Add python-hatchling. --- gnu/packages/databases.scm | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 097617e094..4ecf237115 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -4611,7 +4611,7 @@ (define-public python-aioredis (define-public python-rq (package (name "python-rq") - (version "1.11.1") + (version "2.3.1") (source (origin (method git-fetch) @@ -4620,24 +4620,20 @@ (define-public python-rq (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0dnjm2s036l4j4ypq0h903vh132dp2wiwjrn8jicz1nw829dqpzf")))) - (build-system python-build-system) + (base32 "1w9aqvbvh1mfpgng0mdcskxl5y3ybcqqai5dnwgvg18am0xxhya6")))) + (build-system pyproject-build-system) (arguments - '(#:phases (modify-phases %standard-phases - (add-before 'check 'start-redis - (lambda _ - (invoke "redis-server" "--daemonize" "yes"))) - (replace 'check - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - ;; Drop test that needs the SDK for Sentry.io. - (delete-file "tests/test_sentry.py") - ;; Ensure 'rq' and 'rqworker' ends up on PATH. - (setenv "PATH" (string-append out "/bin:" - (getenv "PATH"))) - (invoke "pytest" "-vv"))))))) + (list + #:phases #~(modify-phases %standard-phases + (add-before 'check 'start-redis + (lambda _ + (invoke "redis-server" "--daemonize" "yes")))))) (native-inputs - (list python-mock python-psutil python-pytest redis)) + (list python-hatchling + python-mock + python-psutil + python-pytest + redis)) (propagated-inputs (list python-click python-redis)) (home-page "https://python-rq.org/")