diff --git a/examples/apps/basic_app.py b/examples/apps/basic_app.py index f29088d60..f502e4fde 100644 --- a/examples/apps/basic_app.py +++ b/examples/apps/basic_app.py @@ -3,7 +3,9 @@ import flyte import flyte.app -image = flyte.Image.from_debian_base(python_version=(3, 12)).with_pip_packages("streamlit==1.41.1") +# streamlit must allow protobuf>=6 (>=1.46 relaxed the cap to <7); older pins force +# protobuf<6, which is incompatible with flyteidl2's gencode and crashes the app. +image = flyte.Image.from_debian_base(python_version=(3, 12)).with_pip_packages("streamlit>=1.46") # The `App` declaration. # Uses the `ImageSpec` declared above.