From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id wKXuAK6aVWZugAAAA41jLg (envelope-from ) for ; Tue, 28 May 2024 10:49:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wJDsNa2aVWYb9QAA62LTzQ (envelope-from ) for ; Tue, 28 May 2024 10:49:50 +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=1716886189; 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-type:content-type: 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=7NqqQYuu3n0qk23hceuhtK2Utz7tTIeJKQfP18+IXAQ=; b=bUp/3/DfvR7CBLRLyMChqytODKcvSWD2YRMI2d7J9SEB0rKwvABCfLsRiuTvW1aVPFxFK3 623IkTM3pWrA8GrWHRIuQn4Wmz/PaLeyei89OrbDpSs8jRhLqs7wiXavN4o5yrhRQ1Mtak h1qT+jzUzAtQUzZVBS/l+o+tfb+q2xmojtrXI/UtUyjtl034iX5ouYE8EX9cr2l2qOAPv1 /2canYynil8jraoCajLtxKspNi/bZ5mtaQG/1hAKl4am9emHra/wFNb0DThSCRf2jY/e4I WXASnIRrG9B3TID6Z4dYtEkTtsoGjCF1ndjYLeqWUamAslhSJjS5+2GKW+gu4w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716886189; a=rsa-sha256; cv=none; b=ZNIojZgPpSlx08ZO0FcD0ccjzCKw4MKsbA4YkF5Ersc5j5V2cIt50kjjDXmELWCuqdaKWW DJFLHMw5f1m/ZFoYgkDMoIlMMRxxmnfjlovaSJbI0y0PK4yyie8NXnO1bUVUbzZW1yjrUq 5bbB4uqdCz8lImzWBNwZs25mvDcDyAU/uyPRFmoE6nlNBrhls1yjJlZlYDKi9lUZAm0xMq Y3AWhzp7p8tppW/G40fFL0AGoZHNtgD+WMTNeylAxCEEfj0H0+Le28eazjbSFgoJpWomHZ MB4MN+yD51br03tWCV3DCikzqTwqSi4fyD0pPPjxN+gJtkWp1AN9eBRN4pD8+g== 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 7F3A361429 for ; Tue, 28 May 2024 10:49:49 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sBsVr-0001BE-2P; Tue, 28 May 2024 04:48:55 -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 1sBsVp-00018U-LS for guix-patches@gnu.org; Tue, 28 May 2024 04:48:53 -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 1sBsVp-00070m-Cs for guix-patches@gnu.org; Tue, 28 May 2024 04:48:53 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sBsVx-00051H-VU for guix-patches@gnu.org; Tue, 28 May 2024 04:49:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70995] [PATCH v3 1/2] gnu: python-debugpy: Move to pyproject-build-system. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 May 2024 08:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70995 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70995@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 70995-submit@debbugs.gnu.org id=B70995.171688608719212 (code B ref 70995); Tue, 28 May 2024 08:49:01 +0000 Received: (at 70995) by debbugs.gnu.org; 28 May 2024 08:48:07 +0000 Received: from localhost ([127.0.0.1]:45674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sBsV4-0004zn-Kr for submit@debbugs.gnu.org; Tue, 28 May 2024 04:48:07 -0400 Received: from 1.mo560.mail-out.ovh.net ([46.105.63.121]:56201) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sBsV0-0004z2-5K for 70995@debbugs.gnu.org; Tue, 28 May 2024 04:48:03 -0400 Received: from director11.ghost.mail-out.ovh.net (unknown [10.109.176.211]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 4VpR3p4Xpbz1Pqp for <70995@debbugs.gnu.org>; Tue, 28 May 2024 08:47:50 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-xrbqj (unknown [10.110.178.153]) by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 4E4B61FEF5; Tue, 28 May 2024 08:47:50 +0000 (UTC) Received: from ngraves.fr ([37.59.142.98]) by ghost-submission-6684bf9d7b-xrbqj with ESMTPSA id m64cEDaaVWaRWgAAej6yrg (envelope-from ); Tue, 28 May 2024 08:47:50 +0000 X-OVh-ClientIp: 81.67.146.208 Date: Tue, 28 May 2024 10:46:10 +0200 Message-ID: <20240528084745.3953-2-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240528084745.3953-1-ngraves@ngraves.fr> References: <20240528084745.3953-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 11112069134025745122 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrvdejiedgtdejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfgggtgfesthekredtredtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeevffelhedvfefgieejueejkeeileegheevudehgfdtffejkeegiefhvdevgfdvgfenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhgihhthhhusghushgvrhgtohhnthgvnhhtrdgtohhmnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugeeirddvtdekpdefjedrheelrddugedvrdelkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjedtleelheesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeitddpmhhouggvpehsmhhtphhouhht 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: 0.45 X-Spam-Score: 0.45 X-Migadu-Queue-Id: 7F3A361429 X-Migadu-Scanner: mx11.migadu.com X-TUID: wrt0Bnx86+NC * gnu/packages/python-xyz.scm (python-debugpy): [build-system]: Move to pyproject-build-system. [arguments]<#:test-flags>: Superset 'check phase replacement. Change-Id: Ie112f4b25df8f7996124b465b81c84403294f2d5 --- gnu/packages/python-xyz.scm | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e9c89a15dbb..1a3c825faab 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16817,10 +16817,20 @@ (define-public python-debugpy (sha256 (base32 "1dpfzs3p51648i7f3fz8dw5d0vrj39iwn1jhn0226idc02ybyqih")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments (list #:tests? #f ; Fail on systems with YAMA LSM’s ptrace scope > 0. + #:test-flags + '(list "-n" (number->string (parallel-job-count)) + "-k" (string-append + ;; These tests cannot be run in parallel because their + ;; test data would not be copied by xdist and lead to + ;; import errors. (see: + ;; https://github.com/microsoft/debugpy/issues/342 and + ;; https://github.com/microsoft/debugpy/issues/880). + "not test_custom_python_args " + "and not test_autokill ")) #:phases #~(modify-phases %standard-phases (add-after 'unpack 'patch-sh-in-tests @@ -16838,21 +16848,7 @@ (define-public python-debugpy (lambda _ ;; This adjusts the behavior of debugpy to load pydevd from ;; Python site packages. - (setenv "DEBUGPY_BUNDLING_DISABLED" "1"))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest" "-vv" - "-n" (number->string (parallel-job-count)) - "-k" - (string-append - ;; These tests cannot be run in parallel because their - ;; test data would not be copied by xdist and lead to - ;; import errors. (see: - ;; https://github.com/microsoft/debugpy/issues/342 and - ;; https://github.com/microsoft/debugpy/issues/880). - "not test_custom_python_args " - "and not test_autokill ")))))))) + (setenv "DEBUGPY_BUNDLING_DISABLED" "1")))))) (native-inputs ;; See: https://raw.githubusercontent.com/microsoft/debugpy/ ;; main/tests/requirements.txt. -- 2.41.0