What I’m trying to do:
When I try to add a custom package to my app the build fails.
What I’ve tried and what’s not working:
I am able to reproduce this with the Material 3 example app adding the pytest
package:
Using Python 3.10 without custom packages works, presumably since that image is already built.
The build produces the following two lines.
Assembling config...Done
Loading base image...
Before giving the generic build failed error.
Error: Build failed
This problem seems similar to these issues:
- Simple builds are failing - memory issue? - Anvil Q&A - Anvil Community Forum
- Python 3.10 Build pipeline issues? - Anvil Q&A - Anvil Community Forum.
Clone link:
This is a minimal project that reproduces the error.