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 4160E15802E for ; Tue, 25 Jun 2024 01:32:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D2B9E2A58; Tue, 25 Jun 2024 01:32:34 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 3FA24E2A58 for ; Tue, 25 Jun 2024 01:32:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id 6795833BEB9 for ; Tue, 25 Jun 2024 01:32:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BE1D1154E for ; Tue, 25 Jun 2024 01:32:31 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1719279085.ef2c9d2102b3c06f1c346097e4dd85cdf19b1d59.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/setuptools/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/setuptools/setuptools-69.0.3-r1.ebuild dev-python/setuptools/setuptools-69.5.1-r1.ebuild dev-python/setuptools/setuptools-70.0.0.ebuild X-VCS-Directories: dev-python/setuptools/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ef2c9d2102b3c06f1c346097e4dd85cdf19b1d59 X-VCS-Branch: master Date: Tue, 25 Jun 2024 01:32:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 93468d09-efad-4a05-a191-cba43a3c374d X-Archives-Hash: 8e50d88e56cb93cb80b9583309477045 commit: ef2c9d2102b3c06f1c346097e4dd85cdf19b1d59 Author: Eli Schwartz gmail com> AuthorDate: Sun Jun 23 04:50:18 2024 +0000 Commit: Sam James gentoo org> CommitDate: Tue Jun 25 01:31:25 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef2c9d21 dev-python/setuptools: add strong blocker for old versions of setuptools-rust This version is no longer packaged in the tree. It contains a runtime dependency on typing_extensions, and triggers pathological dependency graph bugs due to its nature as a setuptools plugin. The issue trivially manifests when changing PYTHON_TARGETS. The ONLY way to fix this is to update/uninstall setuptools-rust before recompiling setuptools itself. Uninstalling is reasonably cheap, since the package is only ever used as a bdep for other packages. This also means it may end up not getting upgraded in a timely fashion. Strong blockers are a strong tool to use here, but: - it is an old version so panicking and refusing to do anything until it gets manually removed may be warranted - it does in fact prevent even successfully running src_compile() for setuptools itself, if setuptools-rust is in partially-merged state due to typing_extensions being queued before setuptools and setuptools-rust being queued *after* setuptools This "fixes" world updates by telling people exactly which package to manually remove rather than inscrutably failing at compile time with python tracebacks and leaving them to guess which package to manually remove. It could be wished that users would be aided through the power of automatically resolved dependency graphs, but there's no good options here and at least the error message is clear. No revbump, because existing packages that successfully compiled don't have the issue and it only occurs during certain world updates. Bug: https://bugs.gentoo.org/933553 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> dev-python/setuptools/setuptools-69.0.3-r1.ebuild | 1 + dev-python/setuptools/setuptools-69.5.1-r1.ebuild | 1 + dev-python/setuptools/setuptools-70.0.0.ebuild | 1 + 3 files changed, 3 insertions(+) diff --git a/dev-python/setuptools/setuptools-69.0.3-r1.ebuild b/dev-python/setuptools/setuptools-69.0.3-r1.ebuild index 056511cea1a8..c0efaa62a9ae 100644 --- a/dev-python/setuptools/setuptools-69.0.3-r1.ebuild +++ b/dev-python/setuptools/setuptools-69.0.3-r1.ebuild @@ -26,6 +26,7 @@ IUSE="test" RESTRICT="!test? ( test )" RDEPEND=" + !!=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}] diff --git a/dev-python/setuptools/setuptools-69.5.1-r1.ebuild b/dev-python/setuptools/setuptools-69.5.1-r1.ebuild index 548567ac52f4..bcb1a8e87e20 100644 --- a/dev-python/setuptools/setuptools-69.5.1-r1.ebuild +++ b/dev-python/setuptools/setuptools-69.5.1-r1.ebuild @@ -27,6 +27,7 @@ RESTRICT="!test? ( test )" # check */_vendor/vendored.txt RDEPEND=" + !!=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}] diff --git a/dev-python/setuptools/setuptools-70.0.0.ebuild b/dev-python/setuptools/setuptools-70.0.0.ebuild index f2d2eb0377c7..9b177c5796d4 100644 --- a/dev-python/setuptools/setuptools-70.0.0.ebuild +++ b/dev-python/setuptools/setuptools-70.0.0.ebuild @@ -27,6 +27,7 @@ RESTRICT="!test? ( test )" # check */_vendor/vendored.txt RDEPEND=" + !!=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}]