Skip to content

AWS Glue Python Shell Runtime

0

AWS Glue Python Shell currently only supports Python 3.6 and 3.9, which are both end-of-life. Is there a roadmap or planned timeline for releasing a newer Python runtime (e.g., 3.10+ ) for Python Shell jobs?

asked a year ago808 views

1 Answer
0

Based on the available information, AWS Glue Python Shell currently supports both Python 3.6 and Python 3.9, not just Python 3.9. Your assertion that Python 3.9 is end-of-life is not accurate according to the provided sources.

Python Shell 3.6 support will continue until March 1, 2026, when it will reach its end of support (EOS) date. AWS has already added support for Python 3.9 in Glue Python Shell jobs, which comes with more pre-loaded libraries and simplified methods for installing additional libraries.

The documentation does not mention any roadmap or planned timeline for releasing newer Python runtimes beyond 3.9 (such as Python 3.10 or higher) for Python Shell jobs. The most recent update mentioned in the sources was the addition of Python 3.9 support.

If you're currently using Python Shell 3.6, it's recommended to migrate to Python 3.9 before the end of support date. For migration, you would need to:

  1. Update the Python version in the AWS Glue console or API
  2. Ensure your job script is compatible with Python 3.9
  3. Test the job's execution

For Python Shell jobs, when using the CreateJob/UpdateJob API, you can set the GlueVersion parameter to 2.0 and the PythonVersion to 3 under the Command parameter, though the GlueVersion configuration does not significantly affect the behavior of Python shell jobs.
Sources
AWS Glue python shell job is supporting only python 3.6, but boto3 is now stopping its support to python 3.6 | AWS re:Post
Configuring job properties for Python shell jobs in AWS Glue - AWS Glue
AWS Glue version support policy - AWS Glue
AWS Glue Python shell now supports Python 3.9 with a flexible pre-loaded environment and support to install additional libraries | AWS Big Data Blog
What is the relationship between AWS Glue Version specification and Type - Python Shell? | AWS re:Post

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.