feat(plugins): support core24 in the Python plugin
Metadata
Current evaluation
Merged PR #4666 as commit 10352d96d, adding core24 Python plugin support with Python 3.12 for confined snaps and clearer strict/devmode interpreter selection.
Resolution: closed resolved
Reason: PR #4666 was approved and merged. Commit 10352d96d selects /usr/bin/python3.12 for confined core24 Python snaps and refines interpreter detection for strict and devmode confinement.
Evaluated by: mr-cal-bot
No scores available.
Issue body
The interpreter for confined core24 snaps is /usr/bin/python3.12. This also includes some minor rework of the logic: if the snap's confinement is strict or devmode, then we should definitely know which interpreter to use. This can make our lives easier in the future as we support more bases.
- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `tox run -m lint`?
- [ ] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`)
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #4666 as commit 10352d96d, adding core24 Python plugin support with Python 3.12 for confined snaps and clearer strict/devmode interpreter selection. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #4666 added core24 Python-plugin support, selecting /usr/bin/python3.12 for confined core24 snaps and updating confinement handling. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in #4666 (commit 10352d96d), adding core24 Python support via /usr/bin/python3.12 and refining strict/devmode interpreter detection. | |
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Implemented core24 support in the Python plugin by setting the interpreter to /usr/bin/python3.12 and refining confinement logic. Code coverage passed. A flaky related test was removed per maintainer feedback. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4587 Improvements to the PythonPlugin for core24 | snapcraft | open | Core24 Python-plugin support merged in #4666, but the proposed interpreter-symlink and default-shebang linters plus broader Python/GNOME integration work remain open and untriaged. | |
| #4942 Python plugin is broken in core24 | snapcraft | closed | Python plugin broke in core24 classic snaps due to Python 3.12 venv changes. Fixed by PR #4946 (squash-merged as 952a8e04d), which rewrites pyvenv.cfg's "home" key to /snap/<name>/current in snapcraft/parts/plugins/python_common.py. | |
| #6089 fix(plugins/python): fix core26 builds | snapcraft | merged | Merged #6089 fixed #6020 by enabling the Python plugin for strictly confined core26 snaps and adding spread tests; released in Snapcraft 8.14.3. |