Skip to content

fix(e2e): pin setuptools-scm<10 to fix circular bootstrap dependency#983

Merged
LalatenduMohanty merged 1 commit intopython-wheel-build:mainfrom
smoparth:bugfix/issue-982-setuptools-scm-constraint
Mar 25, 2026
Merged

fix(e2e): pin setuptools-scm<10 to fix circular bootstrap dependency#983
LalatenduMohanty merged 1 commit intopython-wheel-build:mainfrom
smoparth:bugfix/issue-982-setuptools-scm-constraint

Conversation

@smoparth
Copy link
Copy Markdown
Contributor

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

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>
@smoparth smoparth requested a review from a team as a code owner March 25, 2026 20:39
@mergify mergify bot added the ci label Mar 25, 2026
Copy link
Copy Markdown
Contributor

@shifa-khan shifa-khan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@LalatenduMohanty LalatenduMohanty merged commit 6011d21 into python-wheel-build:main Mar 25, 2026
39 checks passed
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI failure: ci_bootstrap_suite and ci_specialized_suite e2e tests fail due to circular build-system dependency from setuptools-scm 10.0.2

3 participants