heroku / heroku-buildpack-python

Heroku's buildpack for Python applications.
https://www.heroku.com/python
MIT License
973 stars 1.83k forks source link

Add Python binary build support for Heroku-24 #1574

Closed edmorley closed 3 months ago

edmorley commented 3 months ago

This adds support for building Python binaries for Heroku-24 using GitHub Actions. Since the Heroku-24 base image supports both amd64 and arm64 (to allow for multi-arch CNBs), for Heroku-24 (only) we now also build binaries for both architectures.

A later PR will add support for Heroku-24 to the buildpack itself, however, that depends on (a) the Python binaries already having been built, (b) the Heroku build system for Heroku-24 being ready, so those changes are not being made yet.

GUS-W-15571102.

edmorley commented 3 months ago

Builds generated using:

for v in 3.12.{0..3}; do
  gh workflow run build_python_runtime.yml -F "python_version=${v}" -F "stack=heroku-24"
done

(I'll re-run these once Ubuntu 24.04 is GA and the base images refreshed with the final libs versions)