snapcraft ignores version specific build-packages
Metadata
Current evaluation
⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.
Abandoned and closed without resolution. Version specifiers in build-packages remain ignored, as the referenced TODO in _deb.py was never implemented.
Suggested action: —
No scores available.
Issue body
snapcraft, version 4.1.1
Given a snap with a part with version specifiers on the debian packages in build-packages e.g.
build-packages:
- foo=version
foo will be installed, but not at the version specified.
internal/repo/_deb.py:367 contains this TODO
# TODO: this matches prior behavior, but the version is not
# being passed along to apt-get install, even if prescribed
# by the user. We should specify it upon user request.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Abandoned and closed without resolution. Version specifiers in build-packages remain ignored, as the referenced TODO in _deb.py was never implemented. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. Snapcraft ignores version specifiers in build-packages, as noted in an internal TODO. With zero comments and no follow-up, the report was abandoned. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution. snapcraft ignores version specifiers in build-packages. The unimplemented logic in internal/repo/_deb.py remains unfixed, with no pull request or workaround provided. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1671939 build-packages doesn't support specifying a version | snapcraft (launchpad) | closed | Abandoned. Closed without comments or documented resolution. Snapcraft does not support version pinning in build-packages due to underlying apt cache limitations. | |
| #1497453 snapcraft fails if it needs to pull a deb that has an uninstallable version on the system | snapcraft (launchpad) | closed | Abandoned. Closed without documented resolution or fix. The bug caused a TypeError crash when snapcraft attempted to pull a deb package with an incompatible system version during stage setup. |