aws-samples / aws-samples/amazon-personalize-samples

SAM build fails due to unsupported runtime versions in the template

Open
#186 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
602
Forks
338
PR merge metrics
No merged PRs in 30d

Description

The runtime versions specified in the [SAM template](https://github.com/aws-samples/amazon-personalize-samples/blob/master/next_steps/operations/streaming_events/template.yaml#L96-L109) are no longer supported. Specifically:

* [python3.7](https://github.com/aws-samples/amazon-personalize-samples/blob/master/next_steps/operations/streaming_events/template.yaml#L96)
* [nodejs12.x](https://github.com/aws-samples/amazon-personalize-samples/blob/master/next_steps/operations/streaming_events/template.yaml#L109)

**Error Message:**

```python
Build Failed

Error: Building functions with python3.7 is no longer supported
Error: Error: Building functions with nodejs12.x is no longer supported
```

**Suggested fix**: update the runtimes to any of the supported versions:
* python3.8, python3.9, python3.10, python3.11, python3.12 or python3.13
* nodejs18.x, nodejs20.x, or nodejs22.x

Contributor guide

Open the contributing guide

Research direction

Open next_steps/operations/streaming_events/template.yaml at lines 96-109 and review the Python and Node.js runtime entries. Run the SAM build to reproduce the failure, update both entries to supported runtime versions, and run the build again to confirm it succeeds without unsupported-runtime errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, node.js, python
Domain
build-system, cloud
Issue type
Bug
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.