← Back to issue list

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

View original Github issue

Metadata

Project
imagecraft
Number
#306
Type
pull request
State
merged
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

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.

Resolution: closed resolved

Reason: PR #306 merged as commit fca3ff4, constraining setuptools-scm to provide the requested workaround. Later PR #309 removed the constraint once the upstream cyclic dependency was resolved.

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` Describe your changes. --- - [ ] I've followed the [contribution guidelines](https://github.com/canonical/imagecraft/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 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.
stealth/space-bunny-alpha — closed resolved Merged in #306 via fca3ff4, adding a setuptools-scm version constraint to work around an upstream cyclic-dependency issue.
stealth/space-bunny-alpha — closed resolved Merged #306 as fca3ff4, constraining setuptools-scm to work around the cyclic dependency tracked in pypa/setuptools-scm#1302.
qwen/qwen3.6-35b-a3b — — Merged a dependency update constraining setuptools-scm to resolve a cyclic dependency. Approved by two reviewers and passed most CI checks before being merged.
qwen3.6-35b-a3b-mtp-q6 — — Merged a constraint for setuptools-scm to resolve a cyclic dependency. The change implements a workaround for upstream setuptools-scm issue #1302 and was approved by a maintainer.

Update history

No update history recorded yet.

Related work

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

    The upstream cyclic-dependency bug that motivated the temporary constraint.

  • Superseded By: canonical/imagecraft#309 (confidence 98%)

    Merged as b1e78bf and removed the pin after the upstream bug was fixed.

Related issues

Issue Project State Summary Similarity
#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.
94%
#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.
91%
#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.
90%
#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).
90%
#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.
83%
#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.
78%
#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.
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.
76%
#2615 build(deps): unpin setuptools-scm charmcraft merged Merged in canonical/charmcraft#2615 at e78c495b, removing the temporary setuptools-scm pin after the upstream cyclic-dependency bug was fixed.
75%
#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.
74%