-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Archive old Python buildpack version tags #1699
Comments
And another: |
I've archived releases v208 through to v265 inclusive. (By renaming the Git tags from Apps using one of the archived tags will see an error like:
(Ideally this error would be more specific; I'll have a look to see if it's easy to improve it in cytokine) If a particular app still needs to use an outdated tag for some reason, they can switch to the |
The Git tags for buildpack releases v208 to v265 have been archived (renamed from `vNNN` to `archive/vNNN`) for the reasons in #1699 (similar to the process performed in the past for release v207 and older). As such, the changelog compare URLs need updating, as do the test fixtures that test building an app whose last (cached) build was performed using an older version of the buildpack. Closes #1699.
We've seen a few support tickets where a user has tried to upgrade to Heroku-24, and encounters the "Python version not available for this stack" error message due to them unknowingly using an out of date buildpack version (that is using the old style S3 URLs where the Heroku-24 assets don't exist). For example:
And then other tickets where the issue being reported wouldn't have occurred had the app been using the latest buildpack version, eg:
The build log does mention the buildpack URL at the start of the build, however, some users still end up confused.
To raise awareness of apps using an outdated buildpack version, we can rename the Git tags similar to what we've done in the past (for example:
vNNN
->archive/vNNN
). If a particular app still needs to use an outdated tag for some reason, they can switch to thearchive/vNNN
tag name, but the missing tag error during the build will remind users that they have pinned to a old buildpack version.Note: As a reminder we strongly recommend using the buildpack registry alias for the buildpack URL (eg
heroku/python
) rather than the GitHub URLs, since:main
branch of the repo on GitHub will contain changes that have not yet been officially released.The first Python buildpack version to support Heroku-24 is v250:
https://github.com/heroku/heroku-buildpack-python/blob/main/CHANGELOG.md#v250---2024-04-26
So at the least we should archive anything older than v250. (v207 and older are already archived)
Although on Dev Center we now document:
.python-version
as the recommended way to control the Python version (instead ofruntime.txt
), which requires Python buildpack v261+...so it might be worth archiving anything older than v265 too.
GUS-W-17308840.
The text was updated successfully, but these errors were encountered: