Skip to content

Commit

Permalink
fix protobuf constraints for old streamlit versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ytausch committed Oct 31, 2024
1 parent d1393bc commit c5e3139
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions recipe/patch_yaml/streamlit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# https://protobuf.dev/news/2022-05-06/
if:
name: streamlit
version_le: 1.9.0
timestamp_lt: 1730393273000 # 2024/10/31 17:47GMT+1
then:
- replace_constrains:
old: "protobuf >=3.6.0,!=3.11"
new: "protobuf >=3.6.0,!=3.11,<3.20"
- replace_constrains:
old: "protobuf >=3.6.0"
new: "protobuf >=3.6.0,!=3.11,<3.20"

0 comments on commit c5e3139

Please sign in to comment.