From patchwork Fri Apr 4 19:17:07 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41295 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 53BF127BBE2; Fri, 4 Apr 2025 20:19:50 +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 5662B27BBEE for ; Fri, 4 Apr 2025 20:19:46 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u0mZR-0007QE-Cy; Fri, 04 Apr 2025 15:19:17 -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 1u0mZK-0007FW-25 for guix-patches@gnu.org; Fri, 04 Apr 2025 15:19:11 -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 1u0mZJ-0007z9-Ap for guix-patches@gnu.org; Fri, 04 Apr 2025 15:19:09 -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=8Q+Bexx4JALbjsRYXFa1MTUUmaOvVTbnkSw45waWiTE=; b=YIFYDrA3GQ5a3yV/qmOhhO2dKxhufmjmPND3fhyNkdXqx7bvk/44LErYxRj9EdQvrDbMBWuSnKfMDaGbF/uiqPpldVfuQgF1sozCK6TxOdC2ax9CkP2N0InIl6Kzl4iqEnHuxSFVSyOju4LqQInAibZ85MUfbT0JStAeGN5nyN+MHmxb8D7x+Sxj5bjxmvz2+31BEjMYN+15QrdyC08w1adUu6q5OjR1wml/6cgmM4O4B7mWiv+saELFqKEB54MxTYDfXPhUmdZjsCMR7QqgrvHmKQWvZO0Uzcrt+yIxSklXWAInlj8Itnc+2KDou5kZyPAqidzAWFZHlNXwqOd2Bg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u0mZJ-0007SM-45 for guix-patches@gnu.org; Fri, 04 Apr 2025 15:19:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77541] [PATCH 35/38] gnu: python-django-rq: Update to 3.0.0. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 04 Apr 2025 19:19:09 +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.174379431928479 (code B ref 77541); Fri, 04 Apr 2025 19:19:09 +0000 Received: (at 77541) by debbugs.gnu.org; 4 Apr 2025 19:18:39 +0000 Received: from localhost ([127.0.0.1]:40136 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u0mYo-0007PD-R4 for submit@debbugs.gnu.org; Fri, 04 Apr 2025 15:18:39 -0400 Received: from 7.mo562.mail-out.ovh.net ([46.105.55.234]:37329) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u0mY5-0007IR-Ij for 77541@debbugs.gnu.org; Fri, 04 Apr 2025 15:17:54 -0400 Received: from director3.derp.mail-out.ovh.net (director3.derp.mail-out.ovh.net [152.228.215.222]) by mo562.mail-out.ovh.net (Postfix) with ESMTPS id 4ZTpKD4Bp3z1ddd; Fri, 4 Apr 2025 19:17:52 +0000 (UTC) Received: from director3.derp.mail-out.ovh.net (director3.derp.mail-out.ovh.net. [127.0.0.1]) by director3.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <77541@debbugs.gnu.org>; Fri, 4 Apr 2025 19:17:52 +0000 (UTC) Received: from mta7.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.109.139.133]) by director3.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZTpKD3NVPz7wVq; Fri, 4 Apr 2025 19:17:52 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.2]) by mta7.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 18E81C3966; Fri, 4 Apr 2025 19:17:52 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-107S00143ffc855-05f5-4c58-a760-530141560935, 5C763BAE2B049B0552D0CEA89988AE409CD35AAA) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Fri, 4 Apr 2025 21:17:07 +0200 Message-ID: <20250404191717.32747-35-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: 3485786112849928930 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduledvvdeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpledtrdelvddruddujedrudeggeenucevlhhushhtvghrufhiiigvpeejnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjeejheegudesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpoffvtefjohhsthepmhhoheeivdgmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=8Q+Bexx4JALbjsRYXFa1MTUUmaOvVTbnkSw45waWiTE=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1743794272; v=1; b=0dqZJT05wdKqz2YWU6kIIUmN6Jw0v2ZsMfIVHofATG7cPJ/BzTzcbyzR4mR8o+6/RqkpL5xr Pj40axMb5MKLYe1x+iY1ZenRS5okHUfChM3LJoryh1VRAi5JsWXtR9i15I+N255Bao92CRwdxMc 576sbM/jV84w1xC5zEmX786CsR2iHrJjXGXHutVn81/5Xyj59hl86cZAXcd7JmUoHHO13sCpvWZ Gl7SwmWsL18nSdkgXqYKiwEL7FBhh3E6iLi0LJrbAHWntOntQJMM2jU3MfbRTqVdftd8B6kcuH3 C67vJOlvJ8DIMIRNwlj8l5KJSHrylHJcBW22kY0byeD1g== 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/django.scm (python-django-rq): Update to 3.0.0. [arguments]{test-flags}: Ignore failing tests. {phases}: Replace 'check phase replacement by a simpler 'pre-check configuration phase. [native-inputs]: Add python-pytest, python-pytest-django. [propagated-inputs]: Add python-redis, python-pyaml. --- gnu/packages/django.scm | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index cb9df0d2df..44d47b39ab 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -1055,39 +1055,41 @@ (define-public python-django-redis (define-public python-django-rq (package (name "python-django-rq") - (version "2.7.0") + (version "3.0.0") (source (origin (method url-fetch) (uri (pypi-uri "django-rq" version)) (sha256 (base32 - "0aw0fi0lg80qgdp9fhjbnlhvfh2p09rgy1nj6hxpyhi37kihni2h")))) + "1b371w4cdjlz83i2sg4gpx0z3svl3bfrn6zfy661374hv62xpnkv")))) (build-system pyproject-build-system) (arguments (list + #:test-flags + #~(list "-k" "not test_scheduled_jobs and not test_started_jobs") #:phases - '(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "redis-server" "--daemonize" "yes") - (invoke "django-admin" "test" "django_rq" - "--settings=django_rq.tests.settings" - "--pythonpath=."))))))) + #~(modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "redis-server" "--daemonize" "yes") + (setenv "DJANGO_SETTINGS_MODULE" "django_rq.tests.settings") + (setenv "PYTHONPATH" (getcwd)))))))) (native-inputs (list python-django-redis - python-mock + python-pytest + python-pytest-django python-rq-scheduler python-setuptools python-wheel redis tzdata-for-tests)) (propagated-inputs - (list python-django python-rq)) + (list python-django python-redis python-rq python-pyaml)) (home-page "https://github.com/ui/django-rq") (synopsis "Django integration with RQ") (description - "Django integration with RQ, a Redis based Python queuing library. + "Django integration with RQ, a Redis based Python queuing library. Django-RQ is a simple app that allows you to configure your queues in django's settings.py and easily use them in your project.") (license license:expat)))