← Back to issue list

build: constrain setuptools-scm<10.0.2

View original Github issue

Metadata

Project
snapcraft
Number
#6130
Type
pull request
State
closed
Author
bepri
Labels
—
Created
Updated
Closed

Current evaluation

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.

Resolution: closed superseded

Reason: Maintainer bepri closed the PR unmerged, noting the workaround was no longer needed once upstream fixed the bug in setuptools-scm 10.0.5 (pypa/setuptools-scm#1330). The original temporary pin added by merged PR #6123 was then reverted by merged PR #6131 (commit d7872467d, "build(deps): unpin setuptools-scm"), so no constraint on setuptools-scm remains in the repo.

Evaluated by: mr-cal-bot

No scores available.

Issue body

10.0.4 was released about half an hour ago and is still broken in source builds. --- - [ ] I've followed the [contribution guidelines](https://github.com/canonical/snapcraft/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. - [ ] I've updated the relevant release notes.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded 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.
stealth/space-bunny-alpha — closed superseded Closed unmerged after setuptools-scm 10.0.5+ fixed the source-build regression, making the proposed <10.0.2 constraint unnecessary; see pypa/setuptools-scm#1330.
qwen/qwen3.6-35b-a3b — — Constraining setuptools-scm was closed and superseded. The maintainer noted the change is unnecessary after upstream version 10.0.5 resolved the source build issue.
qwen3.6-35b-a3b-mtp-q6 — — Closed. Superseded by an upstream fix in setuptools-scm 10.0.5, making the version constraint unnecessary.

Update history

No update history recorded yet.

Related work

  • Superseded By: canonical/snapcraft#6131 (confidence 95%)

    Merged follow-up that unpinned setuptools-scm (commit d7872467d) once upstream 10.0.5 fixed the regression, superseding this proposed constraint.

  • Related To: canonical/snapcraft#6123 (confidence 90%)

    Preceding merged PR that added the temporary setuptools-scm constrain due to pypa/setuptools-scm#1302; this PR proposed narrowing that constraint.

  • Related To: setuptools-scm#1330 (confidence 85%)

    Upstream fix cited by the maintainer as making the constraint unnecessary (landed in 10.0.5+); the original breakage was pypa/setuptools-scm#1302.

Related issues

Issue Project State Summary Similarity
#1157 build: constrain setuptools-scm rockcraft merged Merged PR #1157 (3e5b3347) constrained setuptools-scm below 10.0.2, preventing the upstream build hang seen when building Pydantic.
82%
#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.
78%
#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%
#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.
75%
#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.
74%
#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.
74%
#6131 build(deps): unpin setuptools-scm snapcraft merged Merged #6131 in commit d7872467d, removing the setuptools-scm pin after the upstream fix landed in setuptools-scm 10.0.5.
73%
#1164 build(deps): unpin setuptools-scm rockcraft closed PR #1164 proposed removing the setuptools-scm workaround after the upstream bug was fixed, but closed unmerged with review pending and no recorded resolution; the constraint remains.
73%