Skip to content

Commit

Permalink
test: Restrict tf dependency protobuf to ABI compatible releases (#1869)
Browse files Browse the repository at this point in the history
* protobuf v3.20.1 is the last release to support ABI compatibility
with tensorflow pre tensorflow 2.9.1. The next release of protobuf,
v4.21.0, breaks ABI compatibility and so requires an upper bound of
protobuf v3.20.1 for older tensorflow releases to not break. tensorflow
released a series of patch releases in response to protobuf v4.21.0:
v2.6.5, v2.7.3, v2.8.2, v2.9.1.
   - c.f. tensorflow/tensorflow#56077
  • Loading branch information
matthewfeickert authored May 26, 2022
1 parent 031218c commit ea3249a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ uproot==4.1.1
iminuit==2.4.0
# tensorflow
tensorflow==2.3.1 # tensorflow-probability v0.11.0 requires tensorflow>=2.3
protobuf<=3.20.1 # protobuf v4.21.0 breaks ABI compatability
tensorflow-probability==0.11.0 # c.f. PR #1657
# torch
torch==1.10.0
Expand Down

0 comments on commit ea3249a

Please sign in to comment.