Skip to content

Conversation

@willhuang1997
Copy link
Contributor

@willhuang1997 willhuang1997 commented Nov 21, 2022

We seemingly broke streamlit in 1.15.0 in #5742 and https://discuss.streamlit.io/t/version-1-15-returns-error/33523/10 and https://discuss.streamlit.io/t/streamlit-1-15-0-hello-run-error/33571 and likely more.

It looks like the bug is being caused by protobuf versions from my debugging since I don't see that ValueType in 3.19.6. https://github.com/protocolbuffers/protobuf/blob/v3.19.6/python/google/protobuf/internal/enum_type_wrapper.py. I also tested it out and my theory holds true if u install protobuf==3.19.6 and run streamlit --version.

I think we should add dependency changes to make sure they have the correct protobuf version.

UPDATE: We just need to change the return type as a string

@willhuang1997 willhuang1997 marked this pull request as ready for review November 21, 2022 18:42
@kmcgrady kmcgrady changed the title Add new changes for protobuf Wrap type in quotes to support lower versions of protobuf Nov 21, 2022
@kmcgrady kmcgrady added the security-assessment-completed Security assessment has been completed for PR label Nov 21, 2022
@willhuang1997 willhuang1997 merged commit d284e45 into streamlit:develop Nov 22, 2022
tconkling added a commit to tconkling/streamlit that referenced this pull request Nov 22, 2022
* develop:
  `deprecation_util.py` (formerly `beta_util.py`) (streamlit#5754)
  Hoist element message data creation out of loop (streamlit#5734)
  Fail tests when all snapshots are not committed (streamlit#5729)
  Wrap type in quotes to support lower versions of protobuf (streamlit#5746)
  Fix py_snowflake for Nightly, Release Candidate & Release (streamlit#5747)
  Add GitHub Actions configuration to Dependabot (streamlit#5722)
  Fix snowpark integration test workflow (streamlit#5736)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

security-assessment-completed Security assessment has been completed for PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants