From 93a87f4f59eb62356f2d2cc45c6cb252cf865e11 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 12 Sep 2023 07:03:23 -0400 Subject: python-utils-r1.eclass: unconditionally warn on occluded packages in cwd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Closes: https://github.com/gentoo/gentoo/pull/32729 Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 4 ---- 1 file changed, 4 deletions(-) (limited to 'eclass') 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)" -- cgit v1.2.3-65-gdbad