Skip to content

sfn-glue-sam: Replace deprecated Python shell 3.6 with 3.9#3130

Merged
julianwood merged 6 commits into
aws-samples:mainfrom
kakakakakku:sfn-glue-sam
Jun 26, 2026
Merged

sfn-glue-sam: Replace deprecated Python shell 3.6 with 3.9#3130
julianwood merged 6 commits into
aws-samples:mainfrom
kakakakakku:sfn-glue-sam

Conversation

@kakakakakku

@kakakakakku kakakakakku commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Issue #, if available:
N/A

Description of changes:
Hi😀 Thanks for the useful patterns!

This pattern was last updated about 5 years ago and currently doesn't work because Python shell 3.6 reached end of support on March 1, 2026. I made the following updates to bring it back to a working state.

Check

sam deploy completed successfully and works good.

$ aws s3 mb s3://kakakakakku-sfn-glue-sam-artifacts
make_bucket: kakakakakku-sfn-glue-sam-artifacts

$ aws s3 mb s3://kakakakakku-sfn-glue-sam-data
make_bucket: kakakakakku-sfn-glue-sam-data

$ aws s3 cp code/glue s3://kakakakakku-sfn-glue-sam-artifacts/glue --recursive

$ sam build --template code/cloudformation/stack.yaml
$ sam deploy --guided

CloudFormation outputs from deployed stack
-----------------------------------------------------------------------------------------------------------------------------
Outputs                                                                                                                     
-----------------------------------------------------------------------------------------------------------------------------
Key                 GlueJobName                                                                                             
Description         -                                                                                                       
Value               Feature Engineering                                                                                     

Key                 ETLStepFunctionsARN                                                                                     
Description         -                                                                                                       
Value               arn:aws:states:ap-northeast-1:000000000000:stateMachine:ETLStepFunctions-9pMndnlymAiz
-----------------------------------------------------------------------------------------------------------------------------


Successfully created/updated stack - sfn-glue-sam in ap-northeast-1
image image

Thank you😀


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Comment thread sfn-glue-sam/code/cloudformation/stack.yaml
Comment thread sfn-glue-sam/code/cloudformation/stack.yaml
Comment thread sfn-glue-sam/Readme.md
Comment thread sfn-glue-sam/Readme.md
Comment thread sfn-glue-sam/code/cloudformation/stack.yaml

@ellisms ellisms left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @kakakakakku. I left a few comments to be addressed.

Comment thread sfn-glue-sam/code/cloudformation/stack.yaml
Comment thread sfn-glue-sam/Readme.md
Comment thread sfn-glue-sam/Readme.md Outdated
@ellisms

ellisms commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Thanks for the updates @kakakakakku . Adding this to the publishing queue.

@julianwood julianwood merged commit 9944e64 into aws-samples:main Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants