Python 3.13.2 and 3.12.9 are now available

Change effective on 05 February 2025

Python 3.13.2 and 3.12.9 are now available for use on Heroku.

In addition, the Python 3.13 and 3.12 major version aliases have been updated to resolve to those new Python patch versions.

We strongly recommend that you use the major version aliases when specifying a Python for your app instead of pinning to an exact patch version, so that your app receives the latest Python security updates each time you build it.

See Specifying a Python Version for details on how to configure the Python version for your app.

Heroku’s buildpacks are open source. To subscribe to Python buildpack release notifications or provide feedback, see these repositories on GitHub: