meta: use snapcraft's versioning scheme
Metadata
Current evaluation
Merged canonical/starbase#86, adopting setuptools-scm so package versions closely match Snapcraft’s versioning scheme (CRAFT-1794).
Resolution: closed resolved
Reason: PR #86 was merged after approval by two reviewers. Its changes introduced setuptools-scm-based versioning aligned with Snapcraft’s scheme.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [X] Have you followed the guidelines for contributing?
- [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [X] Have you successfully run `tox`?
-----
The versioning is now a close match to [snapcraft's versioning scheme](https://github.com/snapcore/snapcraft/blob/6b94548db638ddb17acf49b7340a2b801a1ab4e7/tools/version.py#L25-L30) using [setuptools-scm](https://github.com/pypa/setuptools_scm/tree/main). Getting it any closer will require creating a custom [Version](https://github.com/pypa/packaging/blob/63f4cfe679fb3d9322e56d8569207ecff4735238/src/packaging/version.py#L157) class.
(CRAFT-1794)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged canonical/starbase#86, adopting setuptools-scm so package versions closely match Snapcraft’s versioning scheme (CRAFT-1794). | |
| stealth/space-bunny-alpha | — | closed resolved | PR #86 merged as commit 0b9e9cf ("meta: update versioning scheme"), switching starbase to setuptools-scm with a post-release version scheme modelled on Snapcraft's (CRAFT-1794). Follow-up #96 later added a dirty flag. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #86 to align starbase versioning with Snapcraft’s scheme using setuptools-scm, after two maintainer approvals. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged after two approvals and passing CI. Updates the versioning scheme to match snapcraft's using setuptools-scm, adding 78 lines across two files with zero coverage impact. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into main, adopting snapcraft's versioning scheme via setuptools-scm. The update aligns version generation with snapcraft, maintains 100% code coverage, and addresses CRAFT-1794. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1157 repo: support versioned stage-packages | snapcraft | merged | Merged support for versioned stage-packages in canonical/snapcraft#1157 via commit ef4076821, resolving Launchpad bug #1666656. |