Skip to content

Commit

Permalink
fix: Allow protobuf 5.x; require protobuf >=3.20.2; proto-plus >=1.22…
Browse files Browse the repository at this point in the history
….3 (#1976)

* fix: Allow protobuf 5.x; require protobuf >=3.20.2; proto-plus >=1.22.3

* Update constraints

---------

Co-authored-by: Lingqing Gan <[email protected]>
  • Loading branch information
parthea and Linchin authored Jul 17, 2024
1 parent 14986bb commit 57bf873
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
"opentelemetry-instrumentation >= 0.20b0",
],
"bigquery_v2": [
"proto-plus >= 1.22.0, <2.0.0dev",
"protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5", # For the legacy proto-based types.
"proto-plus >= 1.22.3, <2.0.0dev",
"protobuf>=3.20.2,<6.0.0dev,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5", # For the legacy proto-based types.
],
}

Expand Down
4 changes: 2 additions & 2 deletions testing/constraints-3.7.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ opentelemetry-instrumentation==0.20b0
opentelemetry-sdk==1.1.0
packaging==20.0.0
pandas==1.1.0
proto-plus==1.22.0
protobuf==3.19.5
proto-plus==1.22.3
protobuf==3.20.2
pyarrow==3.0.0
python-dateutil==2.7.3
requests==2.21.0
Expand Down

0 comments on commit 57bf873

Please sign in to comment.