From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C555C15823F for ; Sun, 19 Nov 2023 16:01:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 144CC2BC04A; Sun, 19 Nov 2023 16:01:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EAF112BC04A for ; Sun, 19 Nov 2023 16:01:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2B588335CF4 for ; Sun, 19 Nov 2023 16:01:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 238F213A8 for ; Sun, 19 Nov 2023 16:01:22 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1700409674.2e9c80d0b20108082ee81e5c07b3779a6ddb9074.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/distutils-r1.eclass X-VCS-Directories: eclass/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2e9c80d0b20108082ee81e5c07b3779a6ddb9074 X-VCS-Branch: master Date: Sun, 19 Nov 2023 16:01:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 67590e52-be4c-4f45-b308-eb5d3903a672 X-Archives-Hash: 5646ce7f1e3ad793f9c4a7382b940670 commit: 2e9c80d0b20108082ee81e5c07b3779a6ddb9074 Author: Michał Górny gentoo org> AuthorDate: Sat Nov 18 16:01:32 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Nov 19 16:01:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e9c80d0 distutils-r1.eclass: Silence pydevd warnings Set `PYDEVD_DISABLE_FILE_VALIDATION` to silence warnings about frozen modules from dev-python/pydevd. Signed-off-by: Michał Górny gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/33888 Signed-off-by: Michał Górny gentoo.org> eclass/distutils-r1.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 3d756eaad556..0a7b18e4a1a4 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -1813,6 +1813,9 @@ distutils-r1_run_phase() { local -x CYTHON_FORCE_REGEN=1 fi + # silence warnings when pydevd is loaded on Python 3.11+ + local -x PYDEVD_DISABLE_FILE_VALIDATION=1 + # Rust extensions are incompatible with C/C++ LTO compiler # see e.g. https://bugs.gentoo.org/910220 if has cargo ${INHERITED}; then