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

Use Python 3.9 as the default Python version for new apps #1187

Merged
merged 1 commit into from
Apr 1, 2021

Conversation

edmorley
Copy link
Member

@edmorley edmorley commented Apr 1, 2021

Previously if a new app did not specify a Python version via a runtime.txt or the appropriate Pipfile config option, then the buildpack would default to Python 3.6.13.

Now the buildpack will use Python 3.9.2.

This does not affect:

  • apps that specify an explicit Python version
  • existing apps that have already had a build using the previous default version (since that version is remembered from one build to the next, via the "sticky versions" feature).

Use-cases involving new apps that aren't compatible with Python 3.9 will now need to specify Python 3.6 explicitly:
https://devcenter.heroku.com/articles/python-support#specifying-a-python-version

Closes GUS-W-7686321.

@edmorley edmorley self-assigned this Apr 1, 2021
@edmorley edmorley marked this pull request as ready for review April 1, 2021 12:18
@edmorley edmorley requested a review from a team as a code owner April 1, 2021 12:18
Base automatically changed from rm-airflow-workaround to main April 1, 2021 15:56
Previously if a new app did not specify a Python version via a
`runtime.txt` or the appropriate `Pipfile` config option, then
the buildpack would default to Python 3.6.13.

Now the buildpack will use Python 3.9.2.

This does not affect:
* apps that specify an explicit Python version
* existing apps that have already had a build using
  the previous default version (since that version is
  remembered from one build to the next, via the
  "sticky versions" feature).

Use-cases involving new apps that aren't compatible with
Python 3.9 will now need to specify Python 3.6 explicitly:
https://devcenter.heroku.com/articles/python-support#specifying-a-python-version

Closes GUS-W-7686321.
@edmorley edmorley force-pushed the default-python-3.9 branch from d168a4a to d5459f9 Compare April 1, 2021 15:59
@edmorley edmorley merged commit 06ff440 into main Apr 1, 2021
@edmorley edmorley deleted the default-python-3.9 branch April 1, 2021 16:07
@edmorley
Copy link
Member Author

edmorley commented Apr 6, 2021

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