Skip to content

Add a deprecation warning for Python 3.7#1404

Merged
edmorley merged 1 commit intomainfrom
python-3.7-deprecation-warning
Feb 8, 2023
Merged

Add a deprecation warning for Python 3.7#1404
edmorley merged 1 commit intomainfrom
python-3.7-deprecation-warning

Conversation

@edmorley
Copy link
Copy Markdown
Member

@edmorley edmorley commented Feb 8, 2023

Since it's only 4 months away from upstream end-of-life:
https://devguide.python.org/versions/#supported-versions

GUS-W-12345799.

@edmorley edmorley self-assigned this Feb 8, 2023
@edmorley edmorley force-pushed the python-3.7-deprecation-warning branch from 271b153 to a6bc6cd Compare February 8, 2023 11:22
@edmorley edmorley marked this pull request as ready for review February 8, 2023 11:25
@edmorley edmorley requested a review from a team as a code owner February 8, 2023 11:25
@edmorley edmorley enabled auto-merge (squash) February 8, 2023 11:25
@edmorley edmorley merged commit 182c9a4 into main Feb 8, 2023
@edmorley edmorley deleted the python-3.7-deprecation-warning branch February 8, 2023 12:58
@edmorley edmorley mentioned this pull request Feb 8, 2023
@edmorley
Copy link
Copy Markdown
Member Author

edmorley commented Feb 8, 2023

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.
edmorley added a commit that referenced this pull request Dec 5, 2023
Since it has <1 year left of its 5 year support lifecycle:
https://devguide.python.org/versions/#supported-versions

This uses the same approach as for Python 3.7 in #1404.

GUS-W-14607855.
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