fix(e2e): pin setuptools-scm<10 to fix circular bootstrap dependency#983
Merged
LalatenduMohanty merged 1 commit intopython-wheel-build:mainfrom Mar 25, 2026
Conversation
setuptools-scm 10.0.2 added vcs-versioning as a build-system dependency, which itself requires hatchling. During bootstrap, hatchling's wheel isn't available yet on the local wheel server when vcs-versioning tries to install it, causing ci_bootstrap_suite and ci_specialized_suite to fail across all Python versions and platforms. Fixes: python-wheel-build#982 Co-Authored-By: Claude <claude@anthropic.com> Signed-off-by: smoparth <smoparth@redhat.com>
LalatenduMohanty
approved these changes
Mar 25, 2026
LalatenduMohanty
added a commit
to LalatenduMohanty/fromager
that referenced
this pull request
Mar 25, 2026
The constraint was a workaround for python-wheel-build#982, which was caused by extras in _resolved_key triggering re-entrant bootstrap failures. The root cause is now fixed by PR 985 [1], making this pin unnecessary. [1] python-wheel-build#985 Reverts: python-wheel-build#983 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
LalatenduMohanty
added a commit
to LalatenduMohanty/fromager
that referenced
this pull request
Mar 25, 2026
The constraint was a workaround for the issue (commit 141d857), which was caused by extras in _resolved_key triggering re-entrant bootstrap failures. The root cause is now fixed by PR 985 [1], making this pin unnecessary. [1] python-wheel-build#985 Reverts: python-wheel-build#983 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
LalatenduMohanty
added a commit
to LalatenduMohanty/fromager
that referenced
this pull request
Mar 27, 2026
The circular build dependency (setuptools-scm → vcs-versioning → hatchling → pluggy → setuptools-scm) has been fixed upstream. vcs-versioning 1.1.0 switched its build backend from hatchling to setuptools, breaking the cycle. See: pypa/setuptools-scm#1325 Reverts: python-wheel-build#983 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
setuptools-scm 10.0.2 added vcs-versioning as a build-system dependency, which itself requires hatchling. During bootstrap, hatchling's wheel isn't available yet on the local wheel server when vcs-versioning tries to install it, causing ci_bootstrap_suite and ci_specialized_suite to fail across all Python versions and platforms.
Fixes: #982