Repository navigation
Update python-web-applications to Flask 3.1.3 and python313 - #893
Merged
martin-martin merged 2 commits intoOct 16, 2026
Merged
Conversation
Google App Engine decommissioned the python38 runtime, so app.yaml now targets python313, matching the updated tutorial. Pin Flask 3.1.3 and refresh the README's dev-server output to what Flask 3.1.3 prints.
martin-martin
approved these changes
Oct 16, 2026
martin-martin
deleted the
maintenance/python-web-applications-20261016
branch
October 16, 2026 17:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings
python-web-applications/in line with the maintenance update of Python Web Applications: Deploy Your Script as a Flask App.Changes
app.yaml:runtime: python38→runtime: python313. Google App Engine decommissioned thepython38runtime;python313is supported until 2029-10-10 and is what the updated tutorial uses.requirements.txt:Flask==2.1.2→Flask==3.1.3, matching the tutorial'srequirements.txtlisting.README.md: replaced the Flask 1.x dev-server banner (Environment: production, lazy loading) with the output Flask 3.1.3 actually prints.main.pyalready matches the tutorial's final code and needed no change.Verification
Fresh Python 3.13 venv,
pip install -r requirements.txt(Flask 3.1.3, Werkzeug 3.1.9, MarkupSafe 3.0.4), thenpython main.py:GET /→ 200, form renders?celsius=100→Fahrenheit: 212.0,?celsius=-40→-40.0,?celsius=abc→invalid inputruff@0.14.1 format --checkandruff checkpassNot verified: an actual
gcloud app deploy(needs a GCP project).Reviewed by Martin Breuss.
🤖 Generated with Claude Code