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 ms13.migadu.com with LMTPS id gDH4Gea5bWbAHgEA62LTzQ:P1 (envelope-from ) for ; Sat, 15 Jun 2024 15:57:26 +0000 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 gDH4Gea5bWbAHgEA62LTzQ (envelope-from ) for ; Sat, 15 Jun 2024 17:57:26 +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=1718467046; 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=5h4+9ABPmbBsGuieitFPneIaWXlCMJ8DHT30XAMv27Y=; b=BK24Bf9y2o5Fl5hnNU1HcI4c/p6HBzskgawybvt+bNlTMulgicQGXWFj35P7tEb2kU4GoT BIDkOiqVOY7v+e2CN0zLR3FEM2wt15WwKz0bEaspvBSQzB8ESv835Sbr/ITFZNZVugv5RN M92RLfV1RiqjxVfdxHEiv4HApkMTg2rljS6B00CWB1hWHuoc6JK56eDypr/LanyiIPYPXl ctlkB83PseIGIVJSGg+WbzhY5vbx/WclkzHRq4j7IK1nJ4UfTWlPh/VrwEMICCnDOK7oqN CLjr3EL5rVdDe+kmqxXOTPTitUjlrTPQLFiIeCGO37CPqyUCOgcDt0JSFXxyEw== 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=1718467046; a=rsa-sha256; cv=none; b=bMjCx0AJxva83CCfbGX9SzR6QwyPUYbAbkXUSwwnJVg2syo/E0pMqDKP+5gq+hRyGNqOKf f0nNkeGCP2r+JXB5G9Je7AnAUFvqvt/FP6/neythEM3YCWKlziRNjGZCnAbDVnz3dFmHTx sQMoHiRWlBgK9EhjvOMc+eYl5hYxP3tRm8KSOzefrGKLK1a/rkrQZ5oo6M6qaQQ6OVNWoy hJUwRf2UpPtyGdAXMIRUrPcTKjqNgEkGBb+9yjUgHyTekDZP+Pb5dd+aruhY7hjj8D8cE+ tO3jKJm14gkwUDd0Lw4oNUn9O5Ox0pxES8DsL3eFANbc8G6WZhPXO+A3vxthqw== 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 2D83810E2F for ; Sat, 15 Jun 2024 17:57:26 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sIVM0-0006Kh-TE; Sat, 15 Jun 2024 11:30:09 -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 1sIVLx-0006K5-CO for guix-patches@gnu.org; Sat, 15 Jun 2024 11:30:05 -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 1sIVLu-0003Sa-6i for guix-patches@gnu.org; Sat, 15 Jun 2024 11:30:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sIVLu-0007PA-UF for guix-patches@gnu.org; Sat, 15 Jun 2024 11:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70995] [PATCH v4 1/2] gnu: python-debugpy: Move to pyproject-build-system. References: <20240517054144.15296-1-ngraves@ngraves.fr> In-Reply-To: <20240517054144.15296-1-ngraves@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 15 Jun 2024 15:30:02 +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.171846536428318 (code B ref 70995); Sat, 15 Jun 2024 15:30:02 +0000 Received: (at 70995) by debbugs.gnu.org; 15 Jun 2024 15:29:24 +0000 Received: from localhost ([127.0.0.1]:54740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIVLH-0007Mf-EJ for submit@debbugs.gnu.org; Sat, 15 Jun 2024 11:29:24 -0400 Received: from 9.mo576.mail-out.ovh.net ([46.105.56.78]:34597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIVLE-0007MQ-FE for 70995@debbugs.gnu.org; Sat, 15 Jun 2024 11:29:21 -0400 Received: from director10.ghost.mail-out.ovh.net (unknown [10.108.25.166]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4W1g6j5ZSYz1hVk for <70995@debbugs.gnu.org>; Sat, 15 Jun 2024 15:29:17 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-mcx2r (unknown [10.110.113.149]) by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 7EBDF1FDEA; Sat, 15 Jun 2024 15:29:17 +0000 (UTC) Received: from ngraves.fr ([37.59.142.97]) by ghost-submission-6684bf9d7b-mcx2r with ESMTPSA id dHLDHU2zbWbU7xkAwfDIow (envelope-from ); Sat, 15 Jun 2024 15:29:17 +0000 X-OVh-ClientIp: 81.67.146.208 Date: Sat, 15 Jun 2024 17:28:59 +0200 Message-ID: <20240615152915.12986-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.45.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 12919982909101564642 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrfedvuddgledtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffogggtgfesthekredtredtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeegtdeihfffkeejteffkefhveeileeiteekudduffekvdeguefhvdeguedvgeelgfenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhgihhthhhusghushgvrhgtohhnthgvnhhtrdgtohhmnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugeeirddvtdekpdefjedrheelrddugedvrdeljeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjedtleelheesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejiedpmhhouggvpehsmhhtphhouhht 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-Migadu-Queue-Id: 2D83810E2F X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.85 X-Spam-Score: -6.85 X-TUID: yahzRqe6lmoC * 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 bde5c92bf84..bdf841521fa 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16857,10 +16857,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 @@ -16878,21 +16888,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.45.1