← Back to issue list

build(deps): constrain setuptools-scm due to cyclic dependency

View original Github issue

Metadata

Project
debcraft
Number
#105
Type
pull request
State
merged
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Merged in commit 30bdea8, temporarily constraining setuptools-scm to work around pypa/setuptools-scm#1302; debcraft#110 later removed the constraint.

Resolution: closed resolved

Reason: PR #105 was approved and merged as commit 30bdea8, adding a temporary constraint to avoid the upstream setuptools-scm cyclic-dependency bug. Follow-up PR debcraft#110 later unpinned the dependency.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Workaround for https://github.com/pypa/setuptools-scm/issues/1302 Snap build not tested yet, but it works with `UV_PYTHON=3.12 UV_PYTHON_DOWNLOADS=never UV_NO_BINARY=1 uv sync --frozen --no-dev --no-editable --no-cache` - [ ] Have you followed the guidelines for contributing? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `make lint && make test`? ---

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in commit 30bdea8, temporarily constraining setuptools-scm to work around pypa/setuptools-scm#1302; debcraft#110 later removed the constraint.
stealth/space-bunny-alpha — closed resolved Merged canonical/debcraft#105, constraining setuptools-scm to work around the cyclic dependency in pypa/setuptools-scm#1302.
qwen/qwen3.6-35b-a3b — — Merged to constrain setuptools-scm and resolve a cyclic dependency. Approved by two reviewers and passed most CI checks despite one failing OSV-scanner. The change updates two files, adding 10 lines and removing 430.
qwen3.6-35b-a3b-mtp-q6 — — Merged to constrain setuptools-scm, resolving a cyclic dependency issue. The change implements a workaround for upstream setuptools-scm issue #1302, enabling successful dependency resolution with uv.

Update history

No update history recorded yet.

Related work

  • Superseded By: debcraft#110 (confidence 100%)

    Commit 63d83cb later removed the setuptools-scm constraint after the upstream problem was resolved.

  • Blocked By: setuptools-scm#1302 (confidence 98%)

    The upstream cyclic-dependency bug required this temporary build constraint.

Related issues

Issue Project State Summary Similarity
#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.
91%
#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.
90%
#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.
89%
#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).
87%
#110 build(deps): unpin setuptools-scm debcraft merged Merged canonical/debcraft#110 as commit 63d83cb, removing the temporary setuptools-scm pin after its upstream cyclic-dependency bug was fixed.
78%
#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.
77%
#309 build(deps): unpin setuptools-scm imagecraft merged Merged #309 in commit b1e78bf, removing the setuptools-scm pin after the upstream cyclic-dependency bug was fixed.
76%
#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.
76%
#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.
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%