From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id SAWqOhdpNWaHYwAA62LTzQ:P1 (envelope-from ) for ; Sat, 04 May 2024 00:45:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id SAWqOhdpNWaHYwAA62LTzQ (envelope-from ) for ; Sat, 04 May 2024 00:45:44 +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=1714776343; 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=UbXMRkUiF6gDdh9uQW84s468goNd52OwQ6EdFfb53eq9bwCnR5jJAjfl/5CNXY8ot+a1nz 0VxXatkknDlffl44Ww5edr4Ee4+HYPPYQ258Gx5OjWeiEhjd8Rb+FTxNmbFv80Faim5YoZ gkwHXrRZ4jsXRwJtAgFy8aMiFrbnTv4fgZJzkoJp0SaacNko/2uTTgRxljk+O2ppZDfeKD /74BbhxntHfwZn+g+8274VQ5bEvb9Lebu8Y/3tYfePPR9bDcuF0z+FkYbXoNhVDQwf0Mn4 Ca0+nv1m8Mw5jFoSm2GYYqFX2/Vy+Ty2kwR1ikyWGWC8dtys+SEzV+qYbnvZyQ== 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=1714776343; a=rsa-sha256; cv=none; b=NkFCsTP8rl46oTOhLG1T9pFRcSDL8cUX9/L4ftUtAJf+OaWW4GUOw9754aZYcvw2Pdi3oj C0cZYTAgGOHDLVpdC9PyTDHaiPoB4dbi/2tc/s7HSHqaODsEQlvxaBXglfd+EFzbWYelG6 CCKb3x5CViCDRZCH6pfuqbqOOwHknSNlUmQnfvNd+cszuCY/RhSzGb2LzM441n5tP9qhbg XFBlDEaMlAsAZaFHkmuRPVTgErFrdVPKz6yiO2JXFd7dyRexdPlu5A9GWiVa4zVvR/T1Xh JyDm7aqbU08LVXFzRPo1CbOSd8oVuKgWaYlJ+DiT534jkBDB1MYre49Mgtv3sQ== 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 CF5591192F for ; Sat, 4 May 2024 00:45:43 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s31dL-0007FE-Cm; Fri, 03 May 2024 18:44:03 -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 1s31d4-00075K-Lh for guix-patches@gnu.org; Fri, 03 May 2024 18:43:47 -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 1s31d3-0003Uj-1C for guix-patches@gnu.org; Fri, 03 May 2024 18:43:45 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s31dP-00064n-K6 for guix-patches@gnu.org; Fri, 03 May 2024 18:44:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70735] [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 22:44:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70735 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70735@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 70735-submit@debbugs.gnu.org id=B70735.171477622623050 (code B ref 70735); Fri, 03 May 2024 22:44:07 +0000 Received: (at 70735) by debbugs.gnu.org; 3 May 2024 22:43:46 +0000 Received: from localhost ([127.0.0.1]:49335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s31d4-0005zh-6j for submit@debbugs.gnu.org; Fri, 03 May 2024 18:43:46 -0400 Received: from 3.mo576.mail-out.ovh.net ([188.165.52.203]:47789) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s31d2-0005zH-Hh for 70735@debbugs.gnu.org; Fri, 03 May 2024 18:43:45 -0400 Received: from director10.ghost.mail-out.ovh.net (unknown [10.108.17.89]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4VWQnN3G0Yz1klY for <70735@debbugs.gnu.org>; Fri, 3 May 2024 22:43:20 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-rd52w (unknown [10.110.168.56]) by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 0AA881FD73; Fri, 3 May 2024 22:43:20 +0000 (UTC) Received: from ngraves.fr ([37.59.142.107]) by ghost-submission-6684bf9d7b-rd52w with ESMTPSA id aytMAIhoNWa3RQIAksx9PA (envelope-from ); Fri, 03 May 2024 22:43:20 +0000 X-OVh-ClientIp: 81.67.146.208 Date: Sat, 4 May 2024 00:18:14 +0200 Message-ID: <20240503224254.28001-12-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240503224254.28001-1-ngraves@ngraves.fr> References: <20240503224254.28001-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 7532270380050670306 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrvddvuddgudefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugeeirddvtdekpdefjedrheelrddugedvrddutdejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejtdejfeehseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeeipdhmohguvgepshhmthhpohhuth 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.39 X-Spam-Score: -6.39 X-Migadu-Queue-Id: CF5591192F X-Migadu-Scanner: mx13.migadu.com X-TUID: M0thi/Faa54F * 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