You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If core24 classic python snap stages python3.12-minimal, but no python3-minimal (symlink to the python binary), virtualenv is created incorrectly (using build host python) and pyvenv.cfg ends up with incorrect entry home = /usr/bin.
That makes this snap unusable on the host with the different Ubuntu version that the given core
It also breaks re-building core24 classic python snaps
The text was updated successfully, but these errors were encountered:
What needs to get done
Add logic to the
post_prime
of the python plugin to error out if classic snap is created using system python (/usr/bin/python*
)https://github.com/canonical/snapcraft/blob/main/snapcraft/parts/plugins/python_common.py#L67
Why it needs to get done
If core24 classic python snap stages
python3.12-minimal
, but nopython3-minimal
(symlink to the python binary), virtualenv is created incorrectly (using build host python) andpyvenv.cfg
ends up with incorrect entryhome = /usr/bin
.That makes this snap unusable on the host with the different Ubuntu version that the given core
It also breaks re-building
core24
classic python snapsThe text was updated successfully, but these errors were encountered: