Skip to content

Commit

Permalink
Restrict protobuf to 4.* versions (#9630)
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 ce10240 commit e4fe839
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 @@ -79,7 +79,7 @@
# ----
# Expect compatibility with all new versions of these packages, so lower bounds only.
"packaging>20.9",
"protobuf>=4.0.0",
"protobuf>=4.0.0,<5",
"pytz>=2015.7",
"pyyaml>=6.0",
"daff>=1.3.46",
Expand Down

0 comments on commit e4fe839

Please sign in to comment.