From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id AKq0ALQ3W2aqRgAAe85BDQ:P1 (envelope-from ) for ; Sat, 01 Jun 2024 17:01:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id AKq0ALQ3W2aqRgAAe85BDQ (envelope-from ) for ; Sat, 01 Jun 2024 17:01:08 +0200 X-Envelope-To: larch@yhetil.org 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717254067; 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=RaDQCeVwKeJheliDQXWrzoqyQRvcu2IoyxjhaOLI+Iw=; b=fziIdSOdUNoSSK4EgE4fyHXjuYX/PfzFjQ6YUVC/TN7e2rw6/bINdx0bJQ4VOi6C+iOh4P IO/nbVY9uxmJJ+kvWKKCJLc/l266lqkRCh5Cvx2VvUmxXd7Nl2RG6YDbc/jAuOyKVWto/G 1TIrKh6IxENO9ZXUqezaT+PTkitfd07UO9Wfbeb5PWn/9QhSwWXjLnjNxZoTreiZXsymEg PFy80hVyJZIaZEpEhiWyVkGSZFTYS5y2p0HuQT7WWDMNeQMUbLR30BMmwBaf0ynJ/K6WZT lo7ehi00W5aqZAj8tOamecUxJ1Ya3/b/Mb4U4IrArM8jmMRV9SIIciJnF9AI1Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717254067; a=rsa-sha256; cv=none; b=S80sNCeL0ihaTZf26Z/HhxbUaODKr5336yYWPk00RidZwfS1nNP++iomNgq2lChyRSOgib bRfg9NrPzOm+3ZRLdBroY/jTKKInmT+SQSaLB/v5ypNmEA2R706dziDTn9VOQsR3gsVZNd pyOeJTGX/4uXtR43jBZojhA2Up+iQqLsZQN7zONFZOIUVLQOFFl/yU2zbQB851BTz4c0XT Q/efJDXn1batPF9oVMLs6GweoR/lYD2UJr/Gvv3DrTiHJkDSxkJ6WUzdKB3DoJu+FRDpv0 /x2kY+JV0Qr/3V6SIxvFhSUZUw/CzDB+g4Gl2X+k1ht9CDuRA0sEc0Bt0uoPhQ== 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" 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 B2D2A6265F for ; Sat, 01 Jun 2024 17:01:07 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sDQD8-0006uS-2n; Sat, 01 Jun 2024 10:59: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 1sDQD6-0006sA-D1 for guix-patches@gnu.org; Sat, 01 Jun 2024 10:59:56 -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 1sDQD5-0000qX-55 for guix-patches@gnu.org; Sat, 01 Jun 2024 10:59:55 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sDQDG-0002Wv-QS for guix-patches@gnu.org; Sat, 01 Jun 2024 11:00:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69980] [PATCH python-team v3 13/14] gnu: python-jupytext: Move to pyproject-build-system. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Jun 2024 15:00:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69980 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69980@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 69980-submit@debbugs.gnu.org id=B69980.17172539909564 (code B ref 69980); Sat, 01 Jun 2024 15:00:06 +0000 Received: (at 69980) by debbugs.gnu.org; 1 Jun 2024 14:59:50 +0000 Received: from localhost ([127.0.0.1]:57062 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDQD0-0002U7-EB for submit@debbugs.gnu.org; Sat, 01 Jun 2024 10:59:50 -0400 Received: from 6.mo583.mail-out.ovh.net ([178.32.119.138]:34165) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDQCy-0002Ty-VZ for 69980@debbugs.gnu.org; Sat, 01 Jun 2024 10:59:49 -0400 Received: from director6.ghost.mail-out.ovh.net (unknown [10.109.148.146]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4Vs36v13mBz1NK6 for <69980@debbugs.gnu.org>; Sat, 1 Jun 2024 14:59:35 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-bm5gz (unknown [10.110.113.210]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id E9FD81FDAB; Sat, 1 Jun 2024 14:59:34 +0000 (UTC) Received: from ngraves.fr ([37.59.142.95]) by ghost-submission-6684bf9d7b-bm5gz with ESMTPSA id 9bFTN1Y3W2ZFQRoAxv7ynA (envelope-from ); Sat, 01 Jun 2024 14:59:34 +0000 X-OVh-ClientIp: 81.67.146.208 Date: Sat, 1 Jun 2024 16:58:01 +0200 Message-ID: <20240601145902.26806-14-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240601145902.26806-1-ngraves@ngraves.fr> References: <20240601145902.26806-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 3987655998087619298 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrvdekkedgkeefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugeeirddvtdekpdefjedrheelrddugedvrdelheenucevlhhushhtvghrufhiiigvpedvnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieelleektdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekfedpmhhouggvpehsmhhtphhouhht 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: -3.34 X-Spam-Score: -3.34 X-Migadu-Queue-Id: B2D2A6265F X-Migadu-Scanner: mx11.migadu.com X-TUID: jk0vKOxEmU4t * gnu/packages/python-xyz.scm (python-jupytext): [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 65345f2b6b5..ae94d13e803 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -455,26 +455,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