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

Drop support for Python 3.7 #1508

Merged
merged 1 commit into from
Nov 8, 2023
Merged

Drop support for Python 3.7 #1508

merged 1 commit into from
Nov 8, 2023

Conversation

edmorley
Copy link
Member

@edmorley edmorley commented Nov 8, 2023

Since:

  • It has been end of life upstream since 2023-06-27, so is no longer receiving security updates.
  • The buildpack has been warning about its deprecation/end of life in the build log output since 2023-02-08 (#1404, #1460), and its deprecation was previously announced on changelog: https://devcenter.heroku.com/changelog-items/2530
  • The upgrade from Python 3.7 to Python 3.8+ in most cases requires no changes to an application at all (see What’s New In Python 3.8), or else some small dependency updates (compared to say the upgrade from Python 2 to 3).
  • Python 3.7 is not compatible with OpenSSL 3, and so only works on the Heroku-20 stack - which itself will be deprecated in 2024.
  • Any apps that must stay on Python 3.7 short term, can pin to the previous buildpack version (v238) as a stop-gap.

This also unblocks updating setuptools and pipenv in the buildpack, both of which have dropped support for Python 3.7 in recent versions.

Closes heroku/roadmap#198.
GUS-W-12345803.

Since:
- It has been end of life upstream since 2023-06-27, so is no longer
  receiving security updates.
- The buildpack has been warning about its end of life in the build log
  output since 2023-02-08 (see #1404, #1460).
- The `setuptools` and `pipenv` packaging toos have already dropped
  support for Python 3.7, which means we're blocked on upgrading to
  newer versions of them in the buildpack.
- The upgrade from Python 3.7 to Python 3.8+ in most cases requires no
  changes to an application at all, or else some small dependency
  updates (compared to say the upgrade from Python 2 to 3).
- Python 3.7 is not compatible with OpenSSL 3, and so only works on the
  Heroku-20 stack which itself will be deprecated in 2024.
- Any apps that must stay on Python 3.7 short term, can pin to the
  previous buildpack version (`v238`) as a stop-gap.

Closes heroku/roadmap#198.
GUS-W-12345803.
@edmorley edmorley self-assigned this Nov 8, 2023
@edmorley edmorley marked this pull request as ready for review November 8, 2023 10:57
@edmorley edmorley requested a review from a team as a code owner November 8, 2023 10:57
@edmorley edmorley merged commit 5c7ccee into main Nov 8, 2023
@edmorley edmorley deleted the edmorley/drop-python-3.7 branch November 8, 2023 11:16
@edmorley
Copy link
Member Author

edmorley commented Nov 8, 2023

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.

Python 3.7 EOL, removal of its support in new builds on Heroku
2 participants