← Back to issue list

build: constrain setuptools-scm

View original Github issue

Metadata

Project
rockcraft
Number
#1157
Type
pull request
State
merged
Author
tigarmo
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #1157 (3e5b3347) constrained setuptools-scm below 10.0.2, preventing the upstream build hang seen when building Pydantic.

Resolution: closed resolved

Reason: PR #1157 was merged as commit 3e5b3347, adding the build constraint that resolved the Pydantic build hang caused by setuptools-scm 10.0.2.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Version 10.0.2 causes a hang when building Pydantic. Ref: https://github.com/pypa/setuptools-scm/issues/1302 Describe your changes. --- - [ ] I've followed the [contribution guidelines](https://github.com/canonical/rockcraft/blob/main/CONTRIBUTING.md). - [ ] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [ ] I've successfully run `make lint && make test`. - [ ] I've added or updated any relevant documentation.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #1157 (3e5b3347) constrained setuptools-scm below 10.0.2, preventing the upstream build hang seen when building Pydantic.
stealth/space-bunny-alpha — closed resolved Merged PR #1157 (commit 3e5b3347) constrained setuptools-scm below 10.0.2, resolving the hang seen when building Pydantic.
qwen/qwen3.6-35b-a3b — — Merged a PR constraining the setuptools-scm dependency to resolve Pydantic build hangs caused by version 10.0.2. Approved by reviewers and passing CI, the change updates the build configuration with minimal modifications.
qwen3.6-35b-a3b-mtp-q6 — — Merged to constrain setuptools-scm, preventing a build hang from version 10.0.2. The change resolves the upstream issue and successfully updates the build dependencies.

Update history

No update history recorded yet.

Related work

  • Caused By: setuptools-scm#1302 (confidence 99%)

    Upstream issue documenting the setuptools-scm 10.0.2 build hang.

  • Related To: canonical/rockcraft#1158 (confidence 95%)

    Follow-up PR that refined the build constraint for the setuptools-scm cyclic dependency.

Related issues

Issue Project State Summary Similarity
#6130 build: constrain setuptools-scm<10.0.2 snapcraft closed Closed unmerged. The <10.0.2 constraint was made moot when setuptools-scm 10.0.5+ fixed pypa/setuptools-scm#1302 (#1330); PR #6131 (commit d7872467d) then removed the earlier pin from #6123 entirely.
82%
#1158 build(deps): constrain setuptools-scm due to cyclic dependency rockcraft merged Merged PR #1158 as commit 01ecfcd3, adding a setuptools-scm constraint to work around pypa/setuptools-scm#1302 and unblock dependency synchronization.
81%
#2602 build(deps): constrain setuptools-scm due to cyclic dependency charmcraft merged Merged PR #2602 (commit f9c9ad06) adding a temporary setuptools-scm version constraint to work around the cyclic dependency in pypa/setuptools-scm#1302. The pin was later removed by #2615.
80%
#105 build(deps): constrain setuptools-scm due to cyclic dependency debcraft merged Merged in commit 30bdea8, temporarily constraining setuptools-scm to work around pypa/setuptools-scm#1302; debcraft#110 later removed the constraint.
77%
#306 build(deps): constrain setuptools-scm due to cyclic dependency imagecraft merged Merged as fca3ff4, adding a temporary setuptools-scm constraint to work around pypa/setuptools-scm#1302's cyclic-dependency bug; #309 later removed the pin after the upstream fix.
76%
#6123 build(deps): constrain setuptools-scm due to cyclic dependency snapcraft merged PR #6123 by lengau merged as commit 22682ed3c, adding a temporary setuptools-scm pin to work around pypa/setuptools-scm#1302 cyclic dependency. Later reverted by #6131 (d7872467d).
75%