Skip to content

Commit

Permalink
Support Python 3.11 on Heroku-24 too
Browse files Browse the repository at this point in the history
  • Loading branch information
edmorley committed Apr 26, 2024
1 parent 79e005d commit 1a8ceb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_python_runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ jobs:
run: aws s3 sync ./upload "s3://${S3_BUCKET}"

heroku-24:
# On Heroku-24 we only support Python 3.12+.
if: inputs.stack == 'heroku-24' || (inputs.stack == 'auto' && startsWith(inputs.python_version,'3.12.'))
# On Heroku-24 we only support Python 3.11+.
if: inputs.stack == 'heroku-24' || (inputs.stack == 'auto' && !startsWith(inputs.python_version,'3.8.') && !startsWith(inputs.python_version,'3.9.') && !startsWith(inputs.python_version,'3.10.'))
strategy:
fail-fast: false
matrix:
Expand Down
1 change: 1 addition & 0 deletions builds/build_python_runtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ function error() {
case "${STACK}" in
heroku-24)
SUPPORTED_PYTHON_VERSIONS=(
"3.11"
"3.12"
)
;;
Expand Down

0 comments on commit 1a8ceb3

Please sign in to comment.