snapcraft 6.0 breaks the build of the MAAS snap, am still investigating root cause.
Building maas
+ snapcraftctl build
+ python3 -m venv /home/ubuntu/maas/parts/maas/install
+ SNAPCRAFT_PYTHON_VENV_INTERP_PATH=/home/ubuntu/maas/parts/maas/install/bin/python3
+ pip install -U pip setuptools wheel
/home/ubuntu/maas/parts/maas/run/build.sh: line 35: pip: command not found
Failed to build 'maas'.
Recommended resolution:
Check the build logs and ensure the part's configuration and sources are correct.
At a guess, I tried applying https://paste.ubuntu.com/p/PrTmbTCfHp/ this patch which makes it build for snapcraft 6.0 - still needs further testing to ensure the Python bits are setup correctly.
Interesting, the python plugin has not changed at all, but I see how this can be a problem, that dollar SNAP corresponds to snapcraft $SNAP. We probably shouldn’t allow this to begin with.
For building purposes, you might better want to change that to