Commit ce25b89
committed
fix: pin protobuf>=5.29.6,<6.0dev to prevent gencode/runtime version mismatch
Fixes #54. grpcio-tools==1.68.0 resolves to protobuf 5.29.6. Without an
explicit runtime constraint, pip may install a mismatched protobuf version
causing "Detected incompatible Protobuf Gencode/Runtime versions" on import.
Add protobuf>=5.29.6,<6.0dev to both setup.cfg install_requires (runtime)
and pyproject.toml build-system requires (build-time), ensuring the proto
files are generated and loaded with a compatible protobuf version.
Co-Authored-By: Claude and aki1770-del <aki1770@gmail.com>1 parent 96f3c68 commit ce25b89
2 files changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
| |||
0 commit comments