examples/apps: unpin streamlit so protobuf>=6 can resolve - #1530
Merged
Conversation
streamlit<1.46 pins protobuf<6, which downgrades the app image to protobuf 5.29.6. That is older than flyteidl2's compiled gencode (6.33.5), so the app crashes at startup with a protobuf Gencode/Runtime VersionError before Streamlit starts. Require streamlit>=1.46 (relaxed the cap to protobuf<7) so protobuf resolves to 6.x and the app boots. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EPzd8Y6xoxKb9ZYWa8ffek Signed-off-by: Michael Hotan <mike@union.ai>
cosmicBboy
approved these changes
Sep 4, 2026
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.
streamlit<1.46pinsprotobuf<6, downgrading the app image to protobuf 5.29.6 — older than flyteidl2's compiled gencode (6.33.5). The app then crashes at startup with a protobuf Gencode/RuntimeVersionErrorbefore Streamlit runs. streamlit 1.46 relaxed the cap toprotobuf<7, so requiringstreamlit>=1.46lets protobuf resolve to 6.x and the app boots.Verified end-to-end on a self-hosted canary: the app image built from
ghcr.io/flyteorg/flyte:py3.12-v2.6.13+streamlit>=1.46starts cleanly (Knative revision Ready); the oldstreamlit==1.41.1image crash-loops with the VersionError.