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 C5060158089 for ; Tue, 12 Sep 2023 19:15:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5BE612BC0CC; Tue, 12 Sep 2023 19:15:14 +0000 (UTC) Received: from mail-ot1-x336.google.com (mail-ot1-x336.google.com [IPv6:2607:f8b0:4864:20::336]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 17A5D2BC0C9 for ; Tue, 12 Sep 2023 19:15:14 +0000 (UTC) Received: by mail-ot1-x336.google.com with SMTP id 46e09a7af769-6c0d6fef60cso2282867a34.1 for ; Tue, 12 Sep 2023 12:15:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694546113; x=1695150913; darn=lists.gentoo.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RfM7tul1Gh9HBSWefOzHM9rG1V/V0FgsrEkiKYwFjQg=; b=QjWBBZLyW8639WF01PAO5k+JDzej0yuxp3uelHdNVZU3F1DrT6UpS3JfdEP9iZj4z9 NldGtN15S7aM0gnwbSNT+eDEv64JHyDUSdZ8aoSIn7JhSbz/DLrZZ+iiCSlMlAD6xQTQ 1J6stLomTYT630NtIgj08RsfwH44v7EVmv+RAmMuct0k6hZU8paeQMVNKLEp49ESKM/a YUZJ2D5JFVFfRxI+5rCY2HT33SvkM1DoNLt1P5mML29K0HKLISPIUPVlR21NYl3qkUh2 SsnSXmtzrsb2I3h/OYAezqLM55n/9zqpeXWX2rPgbfyKSjIYeTjJ48qJMHD9VYbypq6F vVNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694546113; x=1695150913; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RfM7tul1Gh9HBSWefOzHM9rG1V/V0FgsrEkiKYwFjQg=; b=kwkwqHl1yx3F0oWzejkMsTkIU2dI4fKRshKO4mgdJ7KHm//qnQR4qahk6w5Fuwb2Dg kN/E1qCEAgky2BYfTikPTTivxKxNoMO0rkKg0mRdj2trqHTqwM2uS3KGKQEMkI2HeT/O fnWXQTb4BiGv14CMFVwNpXtA4pWIEHDJPRxuA8nJPOTtVFx3m7D3mbi2TcTeVeFDitlj QMrXdDdrrU3ypKihEuqVm+eiTgwGTRqhGgKWF5wF3EdE6XgaMZg47i0M7YrceaztEhVO km8cEWT58IlEsXaEdytXHGYO+PWEoUXlKGMZG92l1PO62soBE+kVX4XMZaUKUp9lAqQa bBFQ== X-Gm-Message-State: AOJu0YwP4IQB5QuZHFCu4Mo1YWQMbtN6fIt8tBZBWxZY0/uJzVPpX9C2 Ej37TqcGN+usqo5FvEBZNosTZloyRTwwDZ2W X-Google-Smtp-Source: AGHT+IGf8JOU75TitpP4Hm0SSP/iTjj+cmXGE+Gkcjv1DrbinLV2Shm1mGU8dXYQi8Gi9sUBsVDGAw== X-Received: by 2002:a9d:7b4d:0:b0:6bf:287e:1afe with SMTP id f13-20020a9d7b4d000000b006bf287e1afemr700962oto.30.1694546112949; Tue, 12 Sep 2023 12:15:12 -0700 (PDT) Received: from acleverhostname.attlocal.net ([2600:1700:57f0:ca20:b42b:533b:c0b4:7cc9]) by smtp.gmail.com with ESMTPSA id f16-20020a9d5e90000000b006b83a36c08bsm4264455otl.53.2023.09.12.12.15.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 12:15:12 -0700 (PDT) From: Eli Schwartz To: gentoo-dev@lists.gentoo.org Cc: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-dev] [PATCH 2/2] python-utils-r1.eclass: unconditionally warn on occluded packages in cwd Date: Tue, 12 Sep 2023 15:14:42 -0400 Message-ID: <20230912191501.536700-2-eschwartz93@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230912191501.536700-1-eschwartz93@gmail.com> References: <20230912191501.536700-1-eschwartz93@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: bb691990-6dde-49e2-a823-2ffb5d57be85 X-Archives-Hash: fc751c8b33394a49ea00a9bbe928c359 If the current directory masks packages that would be installed and contains different contents, it can cause testing issues that otherwise go unnoticed. This warning can stop being experimental and opt-in Suggested-by: Michał Górny Signed-off-by: Eli Schwartz --- eclass/python-utils-r1.eclass | 4 ---- 1 file changed, 4 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index bd30c1203180..50aeabae1c17 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -1242,10 +1242,6 @@ _python_check_EPYTHON() { _python_check_occluded_packages() { debug-print-function ${FUNCNAME} "${@}" - # DO NOT ENABLE THIS unless you're going to check for false - # positives before filing bugs. - [[ ! ${PYTHON_EXPERIMENTAL_QA} ]] && return - [[ -z ${BUILD_DIR} || ! -d ${BUILD_DIR}/install ]] && return local sitedir="${BUILD_DIR}/install$(python_get_sitedir)" -- 2.41.0