Howdy,
I tried to upgrade my snap to core24 (My upstream project had new dependencies). If I specify
version: git
snapscraft does not build, as git is missing in the image: 2024-05-09 23:31:54.687 :: 2024-05-09 23:31:54.296 raise child_exception_type(errno_num, err_msg, err_filename) 2024-05-09 23:31:54.687 :: 2024-05-09 23:31:54.296 FileNotFoundError: [Errno 2] No such file or directory: ‘git’
I can circumvent the problem by:
a) Specify version: 1.0 (or similar) b) Add a build dependency in the part: parts: httpobs-local-scan : plugin: python source: . build-packages: - git
If you want to have a look at my system, I’m at the roadmap and engineering sprint.