← Back to issue list

Python plugin is broken in core24

View original Github issue

Metadata

Project
snapcraft
Number
#4942
Type
issue
State
closed
Author
tigarmo
Labels
Created
Updated
Closed

Current evaluation

Fixed the Python plugin failure in core24 caused by Python 3.12 virtual environment changes. The problem was resolved and merged in pull request #4946.

Suggested action:

No scores available.

Issue body

### Bug Description See [https://forum.snapcraft.io/t/upgrading-classic-snap-to-core24-using-snapcraft-8-3-causes-python-3-12-errors-at-runtime/41045](https://forum.snapcraft.io/t/upgrading-classic-snap-to-core24-using-snapcraft-8-3-causes-python-3-12-errors-at-runtime/41045) In short, it looks like the changes to virtual environments in Python 3.12 are not working with the python plugin. ### To Reproduce . ### Environment . ### snapcraft.yaml ```shell . ``` ### Relevant log output ```shell . ``` ### Additional context We still need confirmation but [this fix](https://forum.snapcraft.io/t/upgrading-classic-snap-to-core24-using-snapcraft-8-3-causes-python-3-12-errors-at-runtime/41045/11?u=tigarmo) should work and is feasible for us.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Fixed the Python plugin failure in core24 caused by Python 3.12 virtual environment changes. The problem was resolved and merged in pull request #4946.
qwen/qwen3.6-35b-a3b The Python plugin core24 breakage from Python 3.12 venv changes was closed as fixed. The resolution was merged in pull request #4946.
qwen/qwen3.6-35b-a3b Python plugin breakage in core24 caused by Python 3.12 virtual environment changes was fixed in pull request #4946.
qwen3.6-35b-a3b-mtp-q6 Resolved a core24 Python plugin failure caused by Python 3.12 virtual environment changes. The fix was merged in pull request #4946.
qwen3.6-35b-a3b-mtp-q6 Python plugin breakage in core24 due to Python 3.12 virtual environment changes was fixed and closed via pull request #4946.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#5207 Python plugin with core24 and gnome extension broken snapcraft closed The core24 Python plugin with the gnome extension failed due to missing Python encodings. The bug was resolved, and the disabled test was re-enabled in pull request #5977.
77%
#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.
73%