Skip to content

Commit ea3249a

Browse files
test: Restrict tf dependency protobuf to ABI compatible releases (#1869)
* 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
1 parent 031218c commit ea3249a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/constraints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ uproot==4.1.1
1212
iminuit==2.4.0
1313
# tensorflow
1414
tensorflow==2.3.1 # tensorflow-probability v0.11.0 requires tensorflow>=2.3
15+
protobuf<=3.20.1 # protobuf v4.21.0 breaks ABI compatability
1516
tensorflow-probability==0.11.0 # c.f. PR #1657
1617
# torch
1718
torch==1.10.0

0 commit comments

Comments
 (0)