diff --git a/ci/ciimage/gentoo/install.sh b/ci/ciimage/gentoo/install.sh index 1c94b0cc0fa1..a98d15d460ea 100755 --- a/ci/ciimage/gentoo/install.sh +++ b/ci/ciimage/gentoo/install.sh @@ -133,8 +133,15 @@ EOF # Enable all Pythons echo '*/* PYTHON_TARGETS: python3_10 python3_11 python3_12' >> /etc/portage/package.use/python -echo '-python_targets_python3_12 -python_single_target_python3_12' >> /etc/portage/profile/use.mask -echo '-python_targets_python3_12 -python_single_target_python3_12' >> /etc/portage/profile/use.stable.mask +cat <<-EOF >> /etc/portage/profile/use.mask +-python_targets_python3_12 +-python_single_target_python3_12 +EOF +cat <<-EOF >> /etc/portage/profile/use.stable.mask +-python_targets_python3_12 +-python_single_target_python3_12 +EOF + echo 'dev-lang/python ensurepip' >> /etc/portage/package.use/python # Silly mono circular dep