heroku / heroku-buildpack-php

Heroku's buildpack for PHP applications.
https://devcenter.heroku.com/categories/php
MIT License
808 stars 1.59k forks source link

Python 3.12 compatibility for build tooling #715

Closed dzuelke closed 6 months ago

dzuelke commented 6 months ago

Ubuntu 24.04 ships with Python 3.12, which deprecates a few things we use (distutils.version, datetime.datetime.utc*).

More crucially, bob-builder uses boto, which due to a weird vendoring of six is incompatible with Python 3.12, so we need to update it to 0.0.20, which uses boto3.

That version picks up S3_REGION from the environment, but our S3_REGION values so far contained a prefix of "s3.".

GUS-W-15794852