Skip to content

examples/apps: unpin streamlit so protobuf>=6 can resolve - #1530

Merged
cosmicBboy merged 2 commits into
mainfrom
mike/streamlit-example-protobuf6
Sep 4, 2026
Merged

examples/apps: unpin streamlit so protobuf>=6 can resolve#1530
cosmicBboy merged 2 commits into
mainfrom
mike/streamlit-example-protobuf6

Conversation

@mhotan

@mhotan mhotan commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

streamlit<1.46 pins protobuf<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/Runtime VersionError before Streamlit runs. streamlit 1.46 relaxed the cap to protobuf<7, so requiring streamlit>=1.46 lets 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.46 starts cleanly (Knative revision Ready); the old streamlit==1.41.1 image crash-loops with the VersionError.

mhotan and others added 2 commits September 4, 2026 11:53
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
cosmicBboy enabled auto-merge (squash) September 4, 2026 13:41
@cosmicBboy
cosmicBboy merged commit 2fdef2c into main Sep 4, 2026
64 checks passed
@cosmicBboy
cosmicBboy deleted the mike/streamlit-example-protobuf6 branch September 4, 2026 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants