Skip to content

Commit 9b1c7f9

Browse files
committed
update protobuf
1 parent 8bdb84c commit 9b1c7f9

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

tools/ci_build/github/linux/docker/scripts/manylinux/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ mypy
44
pytest
55
setuptools>=68.2.2
66
wheel
7-
protobuf==4.25.1
7+
protobuf==4.25.1; python_version < "3.14"
8+
protobuf==6.33.0; python_version >= "3.14"
89
sympy==1.14
910
flatbuffers
1011
neural-compressor>=2.2.1

tools/ci_build/github/linux/docker/scripts/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ wheel==0.45.1
88
argparse
99
sympy==1.14
1010
flatbuffers
11-
protobuf==4.25.1
11+
protobuf==4.25.1; python_version < "3.14"
12+
protobuf==6.33.0; python_version >= "3.14"
1213
packaging
1314
onnxscript==0.5.3; python_version < "3.14"
1415
onnx-ir==0.1.10; python_version < "3.14"

tools/ci_build/github/linux/python/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ mypy
44
pytest
55
setuptools>=68.2.2
66
wheel
7-
protobuf==4.25.1
7+
protobuf==4.25.1; python_version < "3.14"
8+
protobuf==6.33.0; python_version >= "3.14"
89
sympy==1.14
910
flatbuffers
1011
psutil

tools/ci_build/github/windows/python/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ mypy
44
pytest
55
setuptools>=68.2.2
66
wheel
7-
protobuf==4.25.1
7+
protobuf==4.25.1; python_version < "3.14"
8+
protobuf==6.33.0; python_version >= "3.14"
89
sympy==1.14
910
flatbuffers
1011
psutil

tools/ci_build/requirements/transformers-test/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# packages used by transformers python unittest
22
packaging
33
# protobuf and numpy is same as tools/ci_build/github/linux/docker/scripts/manylinux/requirements.txt
4-
protobuf==4.25.1
4+
protobuf==4.25.1; python_version < "3.14"
5+
protobuf==6.33.0; python_version >= "3.14"
56
numpy==2.2.6; python_version < "3.14"
67
numpy==2.3.2; python_version >= "3.14"
78
torch==2.8.0

0 commit comments

Comments
 (0)