fix(plugins/python): fix core26 builds
Metadata
Current evaluation
Merged to enable the Python plugin for strictly confined core26 snaps and add core26 spread tests. Approved by three reviewers, passed CI, and resolves #6020.
Suggested action: —
No scores available.
Issue body
- Allows the python plugin to work for strictly confined core26 snaps.
- Adds core26 python spread tests
The uv and poetry plugins aren't working for core26 (noted in the python-hello task.yaml), but fixing them is out-of scope here.
The bare base test is also disabled, since we don't support `base: bare, build-base: core26` at the moment.
Fixes #6020
(SNAPCRAFT-1290)
---
- [x] I've followed the [contribution guidelines](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md).
- [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/).
- [x] I've successfully run `make lint && make test`.
- [x] I've added or updated any relevant documentation.
- [x] I've updated the relevant release notes.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged to enable the Python plugin for strictly confined core26 snaps and add core26 spread tests. Approved by three reviewers, passed CI, and resolves #6020. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to enable the Python plugin for strictly confined core26 snaps. Adds spread tests and resolves issue #6020. Unrelated spread failures were noted but did not block the merge. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged fix enabling the Python plugin for strictly confined core26 snaps. Added spread tests and resolved #6020. Unrelated Spread failures were noted and disregarded. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #6159 test: fix core26 python tests | snapcraft | merged | Merged update to core26 Python spread tests, switching to Python 3.14. The change modified four files, passed code review, and completed most CI checks. | |
| #6171 test(spread): update python tests | snapcraft | merged | Merged update aligning core26 spread tests and documentation Python package ordering for consistency. Approved by reviewers and passed CI checks. | |
| #6020 Most Python-based snaps can't build on core26 | snapcraft | closed | Resolved in PR #6089 and released in snapcraft 8.14.3. The python plugin now correctly handles core26 builds without assuming a system interpreter. Uv and poetry plugins remain unaddressed and will be fixed in future updates. | |
| #6225 feat: stable core26 support | snapcraft | merged | Merged after approval and CI validation. Adds stable core26 snap building support. Fixes #6088, supersedes #6182, and unblocks #6220. Expected test failures were noted and cleared for merge. | |
| #4666 feat(plugins): support core24 in the Python plugin | snapcraft | merged | Merged after approval and CI. Added core24 Python plugin support by detecting the confined /usr/bin/python3.12 interpreter and refining confinement logic. A flaky out-of-tree test was removed. | |
| #5767 feat: add support for core26 (#5677) | snapcraft | merged | Added core26 base support with unit tests and build-base handling. Merged after maintainer approval and passing CI checks. | |
| #6164 test(spread): add core26 package-cutoff test | snapcraft | merged | Merged. Adds a core26 package-cutoff test as a downstream test for craft-parts PR #1538. Incorporates changes from snapcraft PR #6171 and resolves issues #6146 and #6148. Approved by two reviewers and merged after passing CI checks. | |
| #3870 plugins command: support for core22 | snapcraft | merged | Merged changes adding core22 support to the plugins command and clarifying base selection messages. Approved by a reviewer, passed CI, and integrated into main despite a minor 0.04% coverage decrease. | |
| #4112 plugins: kernel plugin: fix core20 base builds | snapcraft | merged | Merged fix for core20 base build failures caused by a missing sudo check during software-properties-common installation. Rebased to resolve conflicts with #4111, approved, and merged into main. | |
| #6150 docs: use core26 as the default base | snapcraft | merged | Merged documentation updates for Snapcraft 9, setting core26 as the default base and standardizing terminology. Approved by two reviewers and passed CI checks. Force-pushed to resolve a squash-merge email error before final merge. |