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

Add support for the Heroku-22 stack #1299

Merged
merged 1 commit into from
May 24, 2022
Merged

Add support for the Heroku-22 stack #1299

merged 1 commit into from
May 24, 2022

Conversation

edmorley
Copy link
Member

@edmorley edmorley commented Mar 23, 2022

Adds binary generation and testing support for Heroku-22.

Runtime version support for Heroku-22 is as follows:

  • Python 3.6 and older: Not supported since EOL (and they also don't support openssl 3).
  • Python 3.7/3.8: Not supported since:
    • they are in the security-fix-only phase of their lifecycle (major version status)
    • they reach EOL in 2023-06 and 2024-10 respectively, which is well before the EOL date of Heroku-22
    • whilst builds of them appear to succeed, the openssl 3.0.0 compatibility backports/fixes were not as complete for 3.7/3.8 as for 3.9+, and Ubuntu-22 only ships with libssl-dev for 3.0.0 not 1.1.1
    • upgrading from 3.7/3.8 to 3.9 is in most cases trivial, and we should be encouraging users to upgrade.
  • Python 3.9: Only 3.9.12+ is supported.
  • Python 3.10: Only 3.10.4+ is supported.
  • PyPy: Not supported, since is deprecated, was only ever a beta feature, the PyPy versions available for Heroku-18/20 are significantly out of date, and usage is virtually non-existent.

The force_absolute_paths_buildpack usage in tests has been removed since:

  • Heroku-22 no longer includes Ruby in the stack image, and that buildpack was implemented in Ruby rather than bash.
  • That buildpack doesn't really add any value over just checking that things we put on the PATH (such as Python) can actually be used, which the existing tests already do.

GUS-W-10343718.

@edmorley edmorley self-assigned this Mar 23, 2022
@edmorley edmorley force-pushed the heroku-22-support branch 2 times, most recently from 1c5a75b to 08e9285 Compare March 24, 2022 13:57
@edmorley edmorley force-pushed the heroku-22-support branch from 08e9285 to 28fc1a0 Compare April 12, 2022 21:10
@edmorley edmorley force-pushed the heroku-22-support branch 3 times, most recently from 7ebe9d2 to d53ca7a Compare May 9, 2022 11:19
@edmorley edmorley force-pushed the heroku-22-support branch 2 times, most recently from c07f573 to 6d0a2e9 Compare May 24, 2022 22:08
Adds binary generation and testing support for Heroku-22.

Runtime version support for Heroku-22 is as follows:
* Python 3.6 and older: Not supported since EOL.
* Python 3.7/3.8: Not supported since:
   - they are in the security-fix-only phase of their lifecycle
   - they reach EOL in 2023-06 and 2024-10 respectively, which is well
     before the EOL date of Heroku-22
   - upgrading from 3.7/3.9 to 3.9 is in most cases trivial, and
     so we should be encouraging users to upgrade.
* Python 3.9: Only 3.9.12+ is supported.
* Python 3.10: Only 3.10.4+ is supported.
* PyPy: Not supported, since is deprecated, was only ever a beta
   feature, the PyPy versions available for Heroku-18/20 are
   significantly out of date, and usage is virtually non-existent.

The `force_absolute_paths_buildpack` usage in tests has been removed
since:
* Heroku-22 no longer includes Ruby in the stack image, and that
   buildpack was implemented in Ruby rather than bash.
* That buildpack doesn't really add any value over just checking that
   things we put on the `PATH` (such as Python) can actually be used,
   which the existing tests already do.

GUS-W-10343718.
@edmorley edmorley force-pushed the heroku-22-support branch from 6d0a2e9 to 785f288 Compare May 24, 2022 22:14
@edmorley edmorley marked this pull request as ready for review May 24, 2022 22:22
@edmorley edmorley requested a review from a team as a code owner May 24, 2022 22:22
@edmorley edmorley merged commit 894e42c into main May 24, 2022
@edmorley edmorley deleted the heroku-22-support branch May 24, 2022 22:53
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