From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 6H7mNLIeNWYn0QAA62LTzQ:P1 (envelope-from ) for ; Fri, 03 May 2024 19:28:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 6H7mNLIeNWYn0QAA62LTzQ (envelope-from ) for ; Fri, 03 May 2024 19:28:18 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714757298; 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=jJ3sVWvjeZyypJ6Oj/MyM9tC1HphRcKGdJDGaNT7Ky4=; b=mEcRfXP4V2V3lUKuVhzR+9poBOeTt6BfRbAyTsWs3loxUO3vtOkNyXcHkkn6umBuD1fFwN 7P0AEBX53zBfyaAfqRPVRbr8jkNYwW1W9+kXPC9gvbzfEuY9GpaKlTTHCz/FGMibYrtww8 co1l1vN5i5gl33334pF8h9lvXUMUVme/6sYqu6VYpLaaEk7wiCh3ZPO+8RAU43BGXZ9lpy FoQQtgrGw1zebKgupRUV3X2MN+RkdIK5VG+39dGbQXjCd20p7BSqjt+MySrXg8kDmy1Tcu vWI/qiPgQFOTuyevXsR7XCe02sqfFoynaixGM1z04h7MtB6OwJAHOEcChDN6OA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714757298; a=rsa-sha256; cv=none; b=oByWPL/4q3QrryXDSMpXVvQgmNxwanbOJUf0oavKO0gp7TBLdSJ9gg4kvtW1f1lFZ5f4IF Hh7eV2SxoO2d05Wxo261U5akEIxMyjfs82UaZy345Z0EGMga+ogchDdKkTrIwQMNN2n/K7 o2jXnrplM23RduGTu3d0gk6Xh8jFU2DM6okZZXnKKRPL8lpZIb2sulwQ//Tm01E+Pk6809 GZPPOK1tu+SHaqNMmY86z9F6iAmDP0bkgPtRiHCAImszLZ5fxWyJiIqUv2sgHxZzgRv9R1 zfCNbClKkDY29H/KF2lRNarfr4e4brro95eHg66URbgPdJABfi1GuqEeNsIYxg== 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 84FC97D0A9 for ; Fri, 3 May 2024 19:28:18 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2whM-0006j3-WC; Fri, 03 May 2024 13:27:53 -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 1s2whK-0006hO-Fy for guix-patches@gnu.org; Fri, 03 May 2024 13:27:50 -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 1s2whK-0007J5-77 for guix-patches@gnu.org; Fri, 03 May 2024 13:27:50 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s2whg-0004CV-M0 for guix-patches@gnu.org; Fri, 03 May 2024 13:28:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70746] [PATCH 012/714] gnu: python-jupytext: Improve package style. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 03 May 2024 17:28:12 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70746 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70746@debbugs.gnu.org Cc: ngraves@ngraves.fr X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171475727915877 (code B ref -1); Fri, 03 May 2024 17:28:12 +0000 Received: (at submit) by debbugs.gnu.org; 3 May 2024 17:27:59 +0000 Received: from localhost ([127.0.0.1]:47434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2whT-00047w-Bb for submit@debbugs.gnu.org; Fri, 03 May 2024 13:27:59 -0400 Received: from lists.gnu.org ([2001:470:142::17]:57700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2whR-00046n-Rx for submit@debbugs.gnu.org; Fri, 03 May 2024 13:27:58 -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 1s2wh0-0006XM-1z for guix-patches@gnu.org; Fri, 03 May 2024 13:27:30 -0400 Received: from 10.mo575.mail-out.ovh.net ([46.105.79.203]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2wgx-0007DF-VA for guix-patches@gnu.org; Fri, 03 May 2024 13:27:29 -0400 Received: from director8.ghost.mail-out.ovh.net (unknown [10.109.148.164]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id 4VWHmt5WNVz1SwC for ; Fri, 3 May 2024 17:27:26 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-b6h52 (unknown [10.108.42.86]) by director8.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 6F2771FE85; Fri, 3 May 2024 17:27:26 +0000 (UTC) Received: from ngraves.fr ([37.59.142.101]) by ghost-submission-6684bf9d7b-b6h52 with ESMTPSA id Ur0qFH4eNWaeniEAitxrAg (envelope-from ); Fri, 03 May 2024 17:27:26 +0000 X-OVh-ClientIp: 80.214.115.223 Date: Fri, 3 May 2024 18:55:11 +0200 Message-ID: <20240503172650.32434-12-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240503172650.32434-1-ngraves@ngraves.fr> References: <20240503172650.32434-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 2197193668504445666 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrvddvtddgudduvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeelffejteeutefhfeekfffffedvudekjeekgfeludeitdfhkeevhfeivdfhffeggeenucfkphepuddvjedrtddrtddruddpkedtrddvudegrdduudehrddvvdefpdefjedrheelrddugedvrddutddunecuvehluhhsthgvrhfuihiivgepieenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopehguhhigidqphgrthgthhgvshesghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejhedpmhhouggvpehsmhhtphhouhht Received-SPF: pass client-ip=46.105.79.203; envelope-from=ngraves@ngraves.fr; helo=10.mo575.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 X-Spam-Score: -6.39 X-Migadu-Queue-Id: 84FC97D0A9 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.39 X-TUID: 8l43yGt55R/7 * gnu/packages/python-xyz.scm (python-jupytext): Improve package style. [build-system]: Move to pyproject-build-system. [arguments]<#:test-flags>: Add flags. <#:phases>: Remove 'check phase replacement. Change-Id: I5d708c2fc76b609105c1551a6ed1755c56efcada --- gnu/packages/python-xyz.scm | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6338750d0b..51273ca91a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -404,26 +404,25 @@ (define-public python-jupytext (file-name (git-file-name name version)) (sha256 (base32 "0bgf0c4py22ip7qfla8mrmypfh3bg151c8awsr1gvcbw7m4ni01k")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments (list + #:test-flags + '(list "-k" (string-append + "not " + (string-join + (list "test_create_header_with_set_formats" + "test_pre_commit_hook" + "test_sync_with_pre_commit_hook") + " and not "))) #:phases #~(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) + (add-before 'check 'pre-check + (lambda _ ;; some tests fail when HOME=/homeless-shelter. (setenv "HOME" "/tmp") ;; OSError: [Errno 18] Invalid cross-device link - (setenv "TMPDIR" "/tmp") - (when tests? - (let ((disabled-tests - (list "test_create_header_with_set_formats" - "test_pre_commit_hook" - "test_sync_with_pre_commit_hook"))) - (invoke "pytest" "-vv" "-k" - (string-append "not " - (string-join disabled-tests - " and not ")))))))))) + (setenv "TMPDIR" "/tmp")))))) (native-inputs (list git-minimal python-autopep8 -- 2.41.0