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 buildpack support for Heroku-24 #1575

Closed edmorley closed 2 months ago

edmorley commented 3 months ago

Following on from #1574 (which added support for building and releasing Python binaries for Heroku-24), this adds support for the new stack to the buildpack itself.

Heroku-24's base images are published as both amd64 and arm64 variants (primarily for CNB multi-arch support), so the buildpack now checks the architecture where necessary to ensure it continues to operate should it be run against the arm64 image outside of Heroku (for example, on an ARM M1/M2/M3 CPU MacBook). However, when run on Heroku, this buildpack is still only ever run on amd64.

GUS-W-14667590.

edmorley commented 3 months ago

Leaving as draft for now, since CI won't pass until the build system instances for Heroku-24 are ready.