-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Core24 Python init_fs in configure hook #5009
Comments
This probably isn't a problem with the |
Sorry - that's my fault and a mistake in copying and pasting... it should be:
The pythonhome setting was a suggestion from the previous bug as without running the configure hook can't even find the internal code... i.e.
For the working Core22 build, the PYTHONPATH is set as above (but 3.10 not 3.12) and PYTHONHOME is not set. |
I don't think PYTHONHOME needs to be set at all |
If it is not set though - you get the issue detailed above where the configure hook can't even find the landscape python modules. Setting Pythonhome resolves this but then results in the init_fs issue. |
Bug Description
Trying to update the Landscape client snap to a Core 24 base, the snap will build but when installing we hit issues with the configure hook (on a 24.04 device). This issue is similar to canonical/craft-parts#786 and was thought resolved in 8.3.2 but it appears to be still loitering around.
To Reproduce
Build Landscape client snap using the amended snapcraft.yaml below.
Environment
Build is Ubuntu 24.04/AMD64
snapcraft.yaml
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: