summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2023-09-12 07:03:23 -0400
committerMichał Górny <mgorny@gentoo.org>2023-09-14 07:30:09 +0200
commit93a87f4f59eb62356f2d2cc45c6cb252cf865e11 (patch)
tree0b172f3d21540417f5eb8887cc2a06e0529187ee
parent597762f0cd480abcd18792f519db370a6c249e25 (diff)
downloadgentoo-93a87f4f59eb62356f2d2cc45c6cb252cf865e11.tar.gz
gentoo-93a87f4f59eb62356f2d2cc45c6cb252cf865e11.tar.bz2
gentoo-93a87f4f59eb62356f2d2cc45c6cb252cf865e11.zip
python-utils-r1.eclass: unconditionally warn on occluded packages in cwd
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 <mgorny@gentoo.org> Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/32729 Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--eclass/python-utils-r1.eclass4
1 files changed, 0 insertions, 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)"