From patchwork Sun Jun 25 16:57:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 51294 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 372A627BBE9; Sun, 25 Jun 2023 18:01:21 +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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS 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 9074D27BBE2 for ; Sun, 25 Jun 2023 18:01:19 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qDT5s-00046E-FB; Sun, 25 Jun 2023 13:00:08 -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 1qDT5p-00044i-1Z for guix-patches@gnu.org; Sun, 25 Jun 2023 13:00:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qDT5o-0001eN-OG for guix-patches@gnu.org; Sun, 25 Jun 2023 13:00:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qDT5o-00062b-Jy; Sun, 25 Jun 2023 13:00:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55474] [PATCH v5 07/55] gnu: python-django-extensions: Update to 3.2.0. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Sun, 25 Jun 2023 17:00:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55474 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55474@debbugs.gnu.org Cc: ngraves@ngraves.fr, Lars-Dominik Braun , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , jgart Received: via spool by 55474-submit@debbugs.gnu.org id=B55474.168771235622992 (code B ref 55474); Sun, 25 Jun 2023 17:00:04 +0000 Received: (at 55474) by debbugs.gnu.org; 25 Jun 2023 16:59:16 +0000 Received: from localhost ([127.0.0.1]:43332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDT52-0005yk-D5 for submit@debbugs.gnu.org; Sun, 25 Jun 2023 12:59:16 -0400 Received: from 5.mo560.mail-out.ovh.net ([87.98.181.248]:36011) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDT4x-0005yH-Jz for 55474@debbugs.gnu.org; Sun, 25 Jun 2023 12:59:12 -0400 Received: from director5.ghost.mail-out.ovh.net (unknown [10.108.1.232]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 6B717248D2 for <55474@debbugs.gnu.org>; Sun, 25 Jun 2023 16:59:10 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-wkbbz (unknown [10.110.115.217]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id BED491FD25; Sun, 25 Jun 2023 16:59:09 +0000 (UTC) Received: from ngraves.fr ([37.59.142.102]) by ghost-submission-6684bf9d7b-wkbbz with ESMTPSA id r/h+Il1ymGTsTCsAFCiDQg (envelope-from ); Sun, 25 Jun 2023 16:59:09 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-102R00476dc0a58-99b8-4ab3-a742-86605f80f163, AE91E074BBD8CB582EBAD64A2EE525CF9E6269E3) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 80.215.66.29 Date: Sun, 25 Jun 2023 18:57:08 +0200 Message-Id: <806ee27300907d596d2d3c934001a617592e7173.1687712245.git.ngraves@ngraves.fr> X-Mailer: git-send-email 2.40.1 In-Reply-To: <79ade078335720d3a5595676a65788789415bce0.1687712245.git.ngraves@ngraves.fr> References: <79ade078335720d3a5595676a65788789415bce0.1687712245.git.ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 8241024370310439650 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrgeehtddguddthecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdektddrvdduhedrieeirddvledpfeejrdehledrudegvddruddtvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheehgeejgeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeitddpmhhouggvpehsmhhtphhouhht 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-extensions): Update to 3.2.0. [source]: Add snippet to disable pip-dependent tests. Update to 3.2.0. [build-system]: Use pyproject-build-system. [arguments]: Enable tests. [native-inputs]: Add python-pygments and tzdata-for-tests. --- gnu/packages/django.scm | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 72127bbd34..f56d0f6565 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -204,7 +204,7 @@ (define-public python-django python-django-3.2) (define-public python-django-extensions (package (name "python-django-extensions") - (version "3.0.6") + (version "3.2.0") (source (origin (method git-fetch) @@ -214,11 +214,11 @@ (define-public python-django-extensions (commit version))) (file-name (string-append name "-" version)) (sha256 - (base32 - "0sra6hazqvspxd1pnx5cj7gia1rkaz3hn06ib4wd0frc167f5afy")))) - (build-system python-build-system) - (arguments - '(#:tests? #f)) ;XXX: requires a Postgres or MySQL database + (base32 "1wfzlfjbicvk093xqx3qw633ap2khk6kc1ph2kwfk72wxy8yq9lf")) + (snippet ; Disable pip-dependent tests. + '(delete-file "tests/management/commands/test_pipchecker.py")))) + (build-system pyproject-build-system) + ;; TODO More tests can be enabled with a Postgres or MySQL database (propagated-inputs (list python-six python-vobject python-werkzeug python-dateutil python-django)) @@ -226,10 +226,12 @@ (define-public python-django-extensions (list python-mock python-factory-boy python-tox + python-pygments python-pytest python-pytest-cov python-pytest-django - python-shortuuid)) + python-shortuuid + tzdata-for-tests)) (home-page "https://github.com/django-extensions/django-extensions") (synopsis "Custom management extensions for Django")