Skip to content

Commit

Permalink
build: Set a proper build-system protobuf version (#4438)
Browse files Browse the repository at this point in the history
build: force the protobuf version in the build system so that it is compatible with the runtime dependency

Signed-off-by: Yang, Bo <[email protected]>
  • Loading branch information
Atry authored Aug 23, 2024
1 parent 7d744ad commit a2460d9
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
[build-system]
requires = ["setuptools>=60", "wheel", "setuptools_scm>=6.2", "grpcio", "grpcio-tools>=1.47.0", "mypy-protobuf==3.1", "sphinx!=4.0.0"]
requires = [
"setuptools>=60",
"wheel",
"setuptools_scm>=6.2",
"grpcio",
"grpcio-tools>=1.47.0",
"mypy-protobuf==3.1",
"protobuf>=4.24.0,<5.0.0",
"sphinx!=4.0.0",
]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
Expand Down

0 comments on commit a2460d9

Please sign in to comment.