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 kJWuNamiSGaCrgAAe85BDQ:P1 (envelope-from ) for ; Sat, 18 May 2024 14:44:26 +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 kJWuNamiSGaCrgAAe85BDQ (envelope-from ) for ; Sat, 18 May 2024 14:44:25 +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=1716036265; 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=YQZkCGnTOB62ue6AgT1QI+ArJFIwyQq/0TA/zAZvk6A=; b=uNZoHp4bJwZzsJj6/SDgUwEvGELUIpmz96WSVq2d1w3WXEaK7VaJGBJqLJHUHu6SS3GEn4 SlG3NMrN/LrUY4OwYJiiJ1VWCbAUg+Yo4a4vzBDfGottgnrgbCIk+CYhHyZkyiq7miIKfd YM6EmCktDAvpee+eKPhJeiAFu5b21jyV6MLdyaUB8E9b3/nXxKLCa7E6KwscthnkB3eJ0C oZdFe9C+oReonDlU/fITVi3YuRLjaahH8FjdbvCkCVt4f0zPQqzMseJBFyTDtSTNxJ3zlV wYdE82n1Vg+/65WWmRRswQIyhaYeSLpe4uv98fZcnqYGm3O49V73mxD5f9ASiQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716036265; a=rsa-sha256; cv=none; b=U23RzzXiviKahap9aDpqs67GETiUhowwuwUbC36zngjLkiyQ2/M3oViw5Sz2/X4OvpIX4Y +a09PrhSYXdvmm/t55zdfS+fQS8N7WWzEv+ID5KGvlZEaAuO4SVFa0zJH++4iZ0bc28wLJ JCKxLtl3EsH8sn+EFE9T6i+aQXHEDQ9ZS7ZttHxuqUQQFx53QDmDvGKgomX8NKsCRNOnOW K384hkUI294SQGMmFROMriErINXTlfImjCBFDvgtwVxXx6zammh+gl9bDY3TDI2vEBEqDV 5oIqa1obZUCdgn5hIxNh9lOrJrKjvrDAyK8VlBy7IJt+TDIK5Oy+kPAMIgtKgg== 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 6F81363D43 for ; Sat, 18 May 2024 14:44:25 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8JPt-0007D1-Cx; Sat, 18 May 2024 08:44:01 -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 1s8JPr-0007CQ-Ab for guix-patches@gnu.org; Sat, 18 May 2024 08:43:59 -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 1s8JPq-0006z0-Lm for guix-patches@gnu.org; Sat, 18 May 2024 08:43:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s8JPu-0000FG-0K for guix-patches@gnu.org; Sat, 18 May 2024 08:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71037] [PATCH 1/3] gnu: python-pydevd: Move to pyproject-build-system. References: <20240518123734.9898-1-ngraves@ngraves.fr> In-Reply-To: <20240518123734.9898-1-ngraves@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 May 2024 12:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71037 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71037@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 71037-submit@debbugs.gnu.org id=B71037.1716036207884 (code B ref 71037); Sat, 18 May 2024 12:44:01 +0000 Received: (at 71037) by debbugs.gnu.org; 18 May 2024 12:43:27 +0000 Received: from localhost ([127.0.0.1]:33283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8JPL-0000EC-5Z for submit@debbugs.gnu.org; Sat, 18 May 2024 08:43:27 -0400 Received: from 9.mo576.mail-out.ovh.net ([46.105.56.78]:33897) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8JPI-0000E5-QY for 71037@debbugs.gnu.org; Sat, 18 May 2024 08:43:26 -0400 Received: from director6.ghost.mail-out.ovh.net (unknown [10.108.2.12]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4VhNm73jd1z1hWp for <71037@debbugs.gnu.org>; Sat, 18 May 2024 12:43:19 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-8s99p (unknown [10.110.96.9]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 31ADE1FE82; Sat, 18 May 2024 12:43:19 +0000 (UTC) Received: from ngraves.fr ([37.59.142.109]) by ghost-submission-6684bf9d7b-8s99p with ESMTPSA id /GIjCGeiSGZmLhAACdQIbw (envelope-from ); Sat, 18 May 2024 12:43:19 +0000 X-OVh-ClientIp: 81.67.146.208 Date: Sat, 18 May 2024 14:43:05 +0200 Message-ID: <20240518124316.19861-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 11702322157262398178 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrvdehiedggeehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffogggtgfesthekredtredtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeelueehgfevfeevhffftdetgedugeevveehteeileeuueejhfegffetteffhffhvdenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugeeirddvtdekpdefjedrheelrddugedvrddutdelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejuddtfeejseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeeipdhmohguvgepshhmthhpohhuth 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.86 X-Spam-Score: -3.86 X-Migadu-Queue-Id: 6F81363D43 X-Migadu-Scanner: mx11.migadu.com X-TUID: wE3eVj9xzUjG * gnu/packages/python-xyz.scm (python-pydevd): [build-system]: Move to pyproject-build-system. [arguments]: Replace 'check phase by 'pre-check phase and <#:test-flags>. Change-Id: I8227ac8b1b6031c30c6d09480cacaa3347df21a7 --- gnu/packages/python-xyz.scm | 46 ++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8151355a418..c2039273429 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16717,9 +16717,29 @@ (define-public python-pydevd (sha256 (base32 "1yd017dh6xgxrqcyf8kk8jrr0a3zw895yfjih0z5jghyf0rck38q")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments (list + #:test-flags + #~(list "-n" (number->string (parallel-job-count)) + "-k" + (string-append + ;; The two "break_01" tests have been failing on + ;; Python 3.10: + ;; . + "not test_set_pydevd_break_01 " + ;; This one fails for unknown reasons. + "and not test_completion_sockets_and_messages " + ;; the GUI event loop requires an X server. + "and not test_gui_event_loop_custom " + ;; This test validates that 'pydevd' is not in the + ;; exception message, but it is due to being part + ;; of the build file name present in the message. + "and not test_evaluate_exception_trace " + ;; These fail on systems with YAMA LSM’s ptrace + ;; scope > 0. Upstream issue: + ;; https://github.com/fabioz/PyDev.Debugger/issues/218 + "and not test_attach_to_pid")) #:phases #~(modify-phases %standard-phases (add-after 'unpack 'fix-tests @@ -16758,30 +16778,10 @@ (define-public python-pydevd (invoke #+(cxx-for-target) "-shared" "-o" "attach.so" "-fPIC" "-nostartfiles" "pydevd_attach_to_process/linux_and_mac/attach.cpp"))) - (replace 'check + (add-before 'check 'pre-check (lambda* (#:key tests? #:allow-other-keys) (when tests? - (setenv "PYDEVD_USE_CYTHON" "YES") - (invoke "pytest" "-vv" - "-n" (number->string (parallel-job-count)) - "-k" - (string-append - ;; The two "break_01" tests have been failing on - ;; Python 3.10: - ;; . - "not test_set_pydevd_break_01 " - ;; This one fails for unknown reasons. - "and not test_completion_sockets_and_messages " - ;; the GUI event loop requires an X server. - "and not test_gui_event_loop_custom " - ;; This test validates that 'pydevd' is not in the - ;; exception message, but it is due to being part - ;; of the build file name present in the message. - "and not test_evaluate_exception_trace " - ;; These fail on systems with YAMA LSM’s ptrace - ;; scope > 0. Upstream issue: - ;; https://github.com/fabioz/PyDev.Debugger/issues/218 - "and not test_attach_to_pid"))))) + (setenv "PYDEVD_USE_CYTHON" "YES")))) (add-after 'install 'install-attach-binary (lambda _ (install-file "attach.so" -- 2.41.0