Skip to content

fix(cloud_scheduler): update deprecated python37 App Engine runtime to python313 - #14759

Closed
TheRealDanii wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
TheRealDanii:fix-cloud-scheduler-runtime
Closed

TheRealDanii wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
TheRealDanii:fix-cloud-scheduler-runtime

Conversation

@TheRealDanii

@TheRealDanii TheRealDanii commented Nov 4, 2026 •

Copy link
Copy Markdown

Description

cloud_scheduler/snippets/app.yaml still uses runtime: python37. That runtime is deprecated on App Engine, and it can't install the sample's requirements: Flask 3.1.3 needs Python 3.9 or newer, and Werkzeug 3.1.9 needs 3.10 or newer. This changes it to python313, the runtime most appengine/standard_python3 samples use.

This is a one-line config change. I did not deploy it.

Checklist

Testing

  • I have tested this change on a live environment and verified it works as intended.

Compliance & Style


Post-Approval Actions

  • Please merge this PR for me once it is approved

@TheRealDanii
TheRealDanii requested review from a team as code owners November 4, 2026 12:28
@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Nov 4, 2026

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request updates the App Engine runtime in app.yaml from python37 to python313. The review feedback correctly points out that python313 is not yet supported by the Google App Engine standard environment and recommends using python312 instead to avoid deployment failures.

Comment thread cloud_scheduler/snippets/app.yaml Resolved
@iennae

iennae commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Thanks for sharing this update; these samples have been refactored and this no longer applies.

@iennae iennae closed this Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants