Update legacy Flask handler Docker images to Python 3.13#1192
Merged
Conversation
Agent-Logs-Url: https://github.com/Shared-Reality-Lab/IMAGE-server/sessions/bff92bad-6589-4d75-ae74-8ded6795df25 Co-authored-by: jeffbl <2095406+jeffbl@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Shared-Reality-Lab/IMAGE-server/sessions/bff92bad-6589-4d75-ae74-8ded6795df25 Co-authored-by: jeffbl <2095406+jeffbl@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
jeffbl
April 14, 2026 20:50
View session
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.
I agree to the current Contributor License Agreement
Required Information
Task addressed: update the low-risk Flask handlers that still used legacy Python 3.9/3.10 Docker bases, while checking whether PyTorch-based Flask services could be safely modernized.
Changes made:
handlers/hello-svg-handler,handlers/multistage-diagram-tactile-svg,handlers/photo-tactile-svg,handlers/svg-depth-map,handlers/svg-object-detection,handlers/svg-semantic-seg, andhandlers/ocr-handler.apt-get updateplus explicitca-certificatesinstallation sopip installworks reliably on current images.handlers/ocr-handlerfrompython:3.9.5-alpinetopython:3.13-slimafter validating that the Alpine variant was not building reliably in this environment.Testing performed:
docker buildfrom the repository root.Flask==3.1.3does not install on the current ESPnet base images (pytorch/pytorch:1.10.0-cuda11.3-cudnn8-runtimeandpytorch/pytorch:1.12.1-cuda11.3-cudnn8-runtime) because they bundle Python 3.7.services/espnet-tts/requirements.txton a modern PyTorch 2.7.1 / Python 3.11 image fails during dependency installation, so that modernization was not included in this low-risk PR.Coding/Commit Requirements
New Component Checklist (mandatory for new microservices)