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

Update Python 3.7 deprecation message now it has reached EOL #1460

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

edmorley
Copy link
Member

@edmorley edmorley commented Jul 6, 2023

As of 30th June, Python 3.7 has reached end-of-life upstream:
https://devguide.python.org/versions/#supported-versions

This means there will be no new Python 3.7 patch versions released upstream, so no security updates or bug fixes.

The existing buildpack deprecation message has been updated to reflect this, and now also mentions that support for building Python 3.7 apps will be removed in October 2023.

In addition, the scripts and GitHub Actions workflows used to compile and upload new Python runtime versions have been updated to drop support, since there will be no new Python 3.7 releases for us to upload.

GUS-W-13717141.
GUS-W-13717143.

@edmorley edmorley self-assigned this Jul 6, 2023
As of 30th June, Python 3.7 has reached end-of-life upstream:
https://devguide.python.org/versions/#supported-versions

This means there will be no new Python 3.7 patch versions released
upstream, so no security updates or bug fixes.

The existing buildpack deprecation message has been updated to
reflect this, and now also mentions that support for building Python 3.7
apps will be removed in October 2023.

In addition, the scripts and GitHub Actions workflows used to compile and
upload new Python runtime versions have been updated to drop support,
since there will be no new Python 3.7 releases for us to upload.

GUS-W-13717141.
GUS-W-13717143.
@edmorley edmorley marked this pull request as ready for review July 6, 2023 13:04
@edmorley edmorley requested a review from a team as a code owner July 6, 2023 13:04
@edmorley edmorley merged commit 3293b4f into main Jul 10, 2023
4 checks passed
@edmorley edmorley deleted the python3.7-eol-part1 branch July 10, 2023 15:13
edmorley added a commit that referenced this pull request 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 end of life in the build log
  output since 2023-02-08 (see #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, 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.
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