Thanks, that didn’t seem to change anything but I have now specified:
PYTHONHOME: $SNAP
and that gets me past that issue. Then I ended up with the same issue detailed here: Upgrading classic snap to core24 using snapcraft 8.3 causes python 3.12 errors at runtime - #2 by nuccitheboss so it does seem to be more of an issue than just my config file.