Skip to content

Commit

Permalink
build: force the protobuf version in the build system so that it is c…
Browse files Browse the repository at this point in the history
…ompatible with the runtime dependency

Signed-off-by: Yang, Bo <[email protected]>
  • Loading branch information
Atry committed Aug 23, 2024
1 parent 0a48f7b commit 13ae351
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 13ae351

Please sign in to comment.