Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Python 3.8 support + deprecate Python 3.9 #1732

Merged
merged 1 commit into from
Jan 8, 2025
Merged

Conversation

edmorley
Copy link
Member

@edmorley edmorley commented Jan 7, 2025

Python 3.8 reached upstream EOL on 7th October 2024:
https://devguide.python.org/versions/#supported-versions

The Python version support policy is that supported versions follows the upstream EOL lifecycle:
https://devcenter.heroku.com/articles/python-support#python-version-support-policy

As such, the buildpack has been showing a deprecation warning with a scheduled removal date since December 2023:

(Plus Python 3.8 binaries have never been available for Heroku-22 or Heroku-24, meaning it was only ever supported on Heroku-20 and older.)

Dropping support for Python 3.8 also unblocks upgrading to Poetry v2 (which has already dropped 3.8 support).

Apps using Python 3.8 that aren't able to upgrade immediately will need to pin to an older buildpack version temporarily (which will work until Heroku-20 EOLs).

A deprecation warning has now also been added for Python 3.9.

GUS-W-17472311.
GUS-W-14846945.

@edmorley edmorley self-assigned this Jan 7, 2025
@edmorley edmorley force-pushed the rm-python-3.8 branch 2 times, most recently from 823a9d2 to b47400c Compare January 7, 2025 23:28
@edmorley edmorley marked this pull request as ready for review January 7, 2025 23:34
@edmorley edmorley requested a review from a team as a code owner January 7, 2025 23:34
Python 3.8 reached upstream EOL on 7th October 2024:
https://devguide.python.org/versions/#supported-versions

The Python version support policy is that supported versions
follows the upstream EOL lifecycle:
https://devcenter.heroku.com/articles/python-support#python-version-support-policy

As such, the buildpack has been showing a deprecation warning with a
scheduled removal date since December 2023:
- #1515
- #1721
- https://devcenter.heroku.com/changelog-items/2768

(Plus Python 3.8 binaries have never been available for Heroku-22
or Heroku-24, meaning it was only ever supported on Heroku-20
and older.)

Dropping support for Python 3.8 also unblocks upgrading to Poetry v2
(which has already dropped 3.8 support).

Apps using Python 3.8 that aren't able to upgrade immediately will
need to pin to an older buildpack version temporarily (at least
until Heroku-20 EOLs).

A deprecation warning has now also been added for Python 3.9.

GUS-W-17472311.
GUS-W-14846945.
@edmorley edmorley merged commit 009880b into main Jan 8, 2025
7 checks passed
@edmorley edmorley deleted the rm-python-3.8 branch January 8, 2025 12:07
@heroku-linguist heroku-linguist bot mentioned this pull request Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants