When running the buildpacks (gerrit.wikimedia.org/cloud/toolforge/buildpacks) we are getting the error:
[builder] ---> uwsgi Buildpack [builder] Collecting uwsgi [builder] Downloading uwsgi-2.0.20.tar.gz (804 kB) [builder] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 804.9/804.9 kB 4.6 MB/s eta 0:00:00 [builder] Preparing metadata (setup.py): started [builder] Preparing metadata (setup.py): finished with status 'done' [builder] Building wheels for collected packages: uwsgi [builder] Building wheel for uwsgi (setup.py): started [builder] Building wheel for uwsgi (setup.py): finished with status 'error' [builder] error: subprocess-exited-with-error ... [builder] plugins/python/uwsgi_python.h:2:10: fatal error: Python.h: No such file or directory [builder] #include <Python.h> [builder] ^~~~~~~~~~ [builder] compilation terminated.
That prevents building any image with them that uses uwsgi.
This seems related to uwsgi needed to compile to be installed (not distributing binaries anymore) and the python3-dev
package not being where it expects it to be.