Skip to content

Commit

Permalink
Restrict protobuf to 4.* versions (#9630) (#9708)
Browse files Browse the repository at this point in the history
Protobuf v5 has breaking changes. Here we are limiting the protobuf
dependency to one major version, 4, so that we don't have to patch
over handling 2 different major versions of protobuf.
  • Loading branch information
QMalcolm committed Feb 29, 2024
1 parent a404cf6 commit afb675c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changes/unreleased/Dependencies-20240222-102947.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Dependencies
body: Restrict protobuf to 4.* versions
time: 2024-02-22T10:29:47.595435-08:00
custom:
Author: QMalcolm
PR: "9566"
2 changes: 1 addition & 1 deletion core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"typing-extensions>=3.7.4",
"werkzeug>=1,<3",
"pathspec>=0.9,<0.12",
"protobuf>=4.0.0",
"protobuf>=4.0.0,<5",
"pytz>=2015.7",
# the following are all to match snowflake-connector-python
"requests<3.0.0",
Expand Down

0 comments on commit afb675c

Please sign in to comment.