← Back to issue list

build: correctly set version of dev builds

View original Github issue

Metadata

Project
snapcraft
Number
#5568
Type
pull request
State
open
Author
bepri
Labels
Created
Updated
Closed

Current evaluation

Small build fix (+2/-5, 2 files) by maintainer bepri to correctly set the version of dev builds. Pending with 0 reviewers and 0 comments; last activity 360 days ago. CI mostly passing but 'build' and 'OSV-scanner' checks failing.

Suggested action: needs review

Reason: The PR is a tiny, low-risk build/versioning fix by a maintainer (bepri) that is still pending review with no maintainer interaction in ~12 months. It is not clearly superseded — the current snapcraft/__init__.py still falls back to __version__ = "dev" when the package is not installed, and pyproject.toml now carries a setuptools-scm fallback_version = "0.0.0" (from #6268), so the dev-build versioning area is still active but this specific change has not been landed. Failing 'build' CI and the age warrant a maintainer re-review rather than an automatic close.

Impact: 30 Quick Win: 25.5 Staleness: 70 Complexity: 15 Confidence: 55

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `make lint`? - [ ] Have you successfully run `make test`? ---

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 30
Quick Win: 25.5
Staleness: 70
Complexity: 15
Confidence: 55
needs review Small build fix (+2/-5, 2 files) by maintainer bepri to correctly set the version of dev builds. Pending with 0 reviewers and 0 comments; last activity 360 days ago. CI mostly passing but 'build' and 'OSV-scanner' checks failing.
qwen/qwen3.6-35b-a3b
Staleness: 92
Complexity: 15
Confidence: 85
close stale Corrects dev build version assignment in build scripts. Currently inactive for over 10 months, lacks maintainer review, and has failing CI checks for build and security scanning.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 15
Confidence: 90
close stale Updates build configuration to correctly set the version for development builds. Inactive for over 10 months with no comments, CI results, or description.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 10
Confidence: 75
close stale Fixes version assignment for development builds in the build pipeline. Open for over a year with no comments or recent activity. Lacks required lint and test checks. Currently inactive and awaiting maintainer review or updates.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#6268 (confidence 60%)

    Commit 'build: add fallback version (#6268)' added fallback_version = "0.0.0" to pyproject.toml, touching the same dev-build versioning area this PR targets.

Related issues

Issue Project State Summary Similarity
#2137 fix(build): fix build dependencies and CI charmcraft merged Merged by maintainer lengau after approval from two reviewers. Resolved build dependency and CI configuration issues across three files, adding 51 lines and removing 13.
72%