From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aFWYNl+AmGSadgAASxT56A (envelope-from ) for ; Sun, 25 Jun 2023 19:58:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mPSRNl+AmGQtEAEA9RJhRA (envelope-from ) for ; Sun, 25 Jun 2023 19:58:55 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7DA003F692 for ; Sun, 25 Jun 2023 19:58:55 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qDT6u-0004y1-1P; Sun, 25 Jun 2023 13:01:12 -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 1qDT6r-0004vP-OV for guix-patches@gnu.org; Sun, 25 Jun 2023 13:01:09 -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 1qDT6r-0001zc-ED for guix-patches@gnu.org; Sun, 25 Jun 2023 13:01:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qDT6p-0006CW-1j; Sun, 25 Jun 2023 13:01:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55474] [PATCH v5 31/55] gnu: python-django-compressor: Update to 4.3.1. 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:01:07 +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.168771244923667 (code B ref 55474); Sun, 25 Jun 2023 17:01:07 +0000 Received: (at 55474) by debbugs.gnu.org; 25 Jun 2023 17:00:49 +0000 Received: from localhost ([127.0.0.1]:43444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDT6W-00069a-HV for submit@debbugs.gnu.org; Sun, 25 Jun 2023 13:00:48 -0400 Received: from 3.mo561.mail-out.ovh.net ([46.105.44.175]:49009) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDT6S-000692-CY for 55474@debbugs.gnu.org; Sun, 25 Jun 2023 13:00:45 -0400 Received: from director1.ghost.mail-out.ovh.net (unknown [10.108.4.8]) by mo561.mail-out.ovh.net (Postfix) with ESMTP id 64A17247E1 for <55474@debbugs.gnu.org>; Sun, 25 Jun 2023 17:00:43 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-nxl7z (unknown [10.110.171.46]) by director1.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 877481FD17; Sun, 25 Jun 2023 17:00:42 +0000 (UTC) Received: from ngraves.fr ([37.59.142.105]) by ghost-submission-6684bf9d7b-nxl7z with ESMTPSA id 7gc0HLpymGScAQAAVaLPcA (envelope-from ); Sun, 25 Jun 2023 17:00:42 +0000 X-OVh-ClientIp: 80.215.66.29 Date: Sun, 25 Jun 2023 18:57:32 +0200 Message-Id: <9c3ceb697be79f977f20c53ea2b4b6e1b020bbaa.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 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 8267201544903975650 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrgeehtddguddthecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdektddrvdduhedrieeirddvledpfeejrdehledrudegvddruddtheenucevlhhushhtvghrufhiiigvpedvnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheehgeejgeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeiuddpmhhouggvpehsmhhtphhouhht 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 From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687715935; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=XbsRN7HitVTRnOwtkhXXLPijkC498mKpiCldR7skhRU=; b=WFSuZBPSXJDZS9I6kX75ekT0ENTBzh+YtzTFmEmUl3Vg9hJJDljOOqZVlhIBn0eTXXAvv7 AFzWpY5ZbBNB1F+lETZNvcIiuu+sAkhXO0fTsZVN7C9EOgcetda1r92SZHnMI3pte4p97/ eZ4VUzI5ElWpuvAMW9EdCNWoTOpBnZhbFW/jBBTWhxr//sDdfb4Ag8ubd163VThkwxbyFc epqIjOfSqcHyT96iPUqcgIXk3RFloXji8KrKZDOKLyDQ6o0jlzT62Sf7jClXL+rB1mDKOF fTY5Cnn4ZJAhJVGVqKJUCL7+2ce1fmbRUZMkpk7DbZYykEE7Iq2RMhrwLW4gBg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687715935; a=rsa-sha256; cv=none; b=LEN4UL1bfgY3VbCdLUNexjydnuWlUgDnXH8KWXtF1j24CoFtwFOG4w6z7tCBTB9E52KMDb zWuL/s7UNpsktwamNjv11cp1d+mgweqZggl31pzdipUZe71JdRwNgHG6kZXWPRWDJe6EWe NZNu/Y1u7pRCH8DNZzl4Rr1v+fPMJ0f7+tGxaaz3nVlgoI9Nq4PAJVLCJvT8B5aHE/jBKT cz5Nav0WDaUXIOqjNvLgHcTML1Md/Pse4f44JDOeGZ30zMFoLqxCHPpxpInhLnEgse1Djj UPXs48BlO6yQava0hvixBldXdFoUyLnYyA5ExPFskZ77/3PRUTEFZhjgwFGM6Q== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -3.25 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7DA003F692 X-Spam-Score: -3.25 X-TUID: LFMP4WqTPWWu * gnu/packages/django.scm (python-django-compressor): Update to 4.3.1. [build-system]: Use pyproject-build-system. [arguments](phases): Set DJANGO_SETTINGS_MODULE in the invoke call and adapt phase 'check to argument test-flags. (test-flags): Add argument. (tests?) : Delete argument. --- gnu/packages/django.scm | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index a741eb64a0..fa36b2c5b3 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -1194,28 +1194,25 @@ (define-public python-django-crispy-forms (define-public python-django-compressor (package (name "python-django-compressor") - (version "2.4.1") + (version "4.3.1") (source - (origin - (method url-fetch) - (uri (pypi-uri "django_compressor" version)) - (sha256 - (base32 "1q0m0hfg7sqmj5km924g4dgy3nx51aszzsprlp6gsin10mv0fn1k")))) - (build-system python-build-system) + (origin + (method url-fetch) + (uri (pypi-uri "django_compressor" version)) + (sha256 + (base32 "0hl9bwdiif6pn37fw2fpm56i3vcapb1qcb82kb19q2fclq6qr1b8")))) + (build-system pyproject-build-system) (arguments - '(#:phases + '(#:test-flags '("-k" "not test_clamjs_filter") + #:phases (modify-phases %standard-phases (replace 'check - (lambda* (#:key tests? #:allow-other-keys) + (lambda* (#:key tests? test-flags #:allow-other-keys) (if tests? - (begin - (setenv "DJANGO_SETTINGS_MODULE" "compressor.test_settings") - (invoke "django-admin" "test" - "--pythonpath=.")) - #t)))) - ;; Tests fail with beautifulsoup 4.9+ - ;; https://github.com/django-compressor/django-compressor/issues/998 - #:tests? #f)) + (apply invoke "django-admin" "test" + "--pythonpath=." "--settings=compressor.test_settings" + test-flags) + (format #t "test suite not run~%"))))))) (propagated-inputs (list python-django-appconf python-rcssmin python-rjsmin)) (native-inputs -- 2.40.1