commit: 92c33bddf2480e3a3e148e0a2caa63a07db53486 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Dec 26 11:28:18 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Jan 11 14:03:31 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92c33bdd
distutils-r1.eclass: Disable parallel jobs for setuptools Stop enabling parallel job support in setuptools. It is full of bugs, upstream does not address bug reports and it is not really well tested anyway. On top of that, bugs often cause miscompilations rather than explicit failures. Bug: https://bugs.gentoo.org/907718 Bug: https://bugs.gentoo.org/967476 Bug: https://github.com/pypa/setuptools/issues/3942 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> Part-of: https://codeberg.org/gentoo/gentoo/pulls/8 Merges: https://codeberg.org/gentoo/gentoo/pulls/8 eclass/distutils-r1.eclass | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 5980cc47e5f7..79c91aa23566 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: distutils-r1.eclass @@ -1288,14 +1288,15 @@ distutils-r1_python_compile() { # we are appending a dynamic component so that # distutils-r1_python_compile can be called multiple # times and don't end up combining resulting packages + # + # we are no longer adding "parallel" since it is causing too many + # issues, including silent miscompilations, and upstream doesn't + # address any bugs mkdir -p "${BUILD_DIR}" || die local -x DIST_EXTRA_CONFIG="${BUILD_DIR}/extra-setup.cfg" cat > "${DIST_EXTRA_CONFIG}" <<-EOF || die [build] build_base = ${BUILD_DIR}/build${#DISTUTILS_WHEELS[@]} - - [build_ext] - parallel = $(makeopts_jobs "${MAKEOPTS} ${*}") EOF if [[ ${DISTUTILS_ALLOW_WHEEL_REUSE} ]]; then
