```yaml name: sdk-py version: '0.1' summary: Python test description: Python test platforms: ubuntu@26.04:amd64: parts: my-part: plugin: nil build-packages: - python3-pil override-build: | python3 -c "import PIL" ``` ``` $ sdkcraft build --debug --verbose Starting sdkcraft, version 0.0.post1.dev1+ga7b62e681 Logging execution to '/home/michal/.local/state/sdkcraft/log/sdkcraft-20261001-230734.043034.log' Launching managed ubuntu 26.04 instance... Starting sdkcraft, version 0.0.post1.dev1+ga7b62e681 Logging execution to '/tmp/sdkcraft.log' Initializing lifecycle Installing build-packages Skipping pull for my-part (already ran) Building my-part :: + python3 -c 'import PIL' :: Traceback (most recent call last): :: File "<string>", line 1, in <module> :: ModuleNotFoundError: No module named 'PIL' 'override-build' in part 'my-part' failed with code 1. Detailed information: :: + python3 -c 'import PIL' :: Traceback (most recent call last): :: File "<string>", line 1, in <module> :: ModuleNotFoundError: No module named 'PIL' Recommended resolution: Review the scriptlet and make sure it's correct. For more information, check out: https://ubuntu.com/workshop/docs/reference/plugins/ Full execution log: '/tmp/sdkcraft.log' Launching shell on build environment... sdkcraft-sdk-py-ubuntu-2604-amd64-37883 ../project# python3 -c 'import PIL' Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'PIL' sdkcraft-sdk-py-ubuntu-2604-amd64-37883 ../project# /usr/bin/python3 -c 'import PIL' ```
Activity