Skip to content

Commit e8b7b34

Browse files
authored
chore(client) Move types-protobuf to dev deps and fix version (#563)
- Align the types-protobuf version with the protobuf version as the two packages should have the same major version. - Move types-protobuf to dev dep as types packages aren't required for non-development usage. Refs STREAM-610 * forgot to commit a change
1 parent 0af1b1d commit e8b7b34

4 files changed

Lines changed: 10 additions & 9 deletions

File tree

clients/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ dependencies = [
1212
"grpcio>=1.67.0",
1313
"orjson>=3.10.10",
1414
"protobuf>=5.28.3",
15-
"types-protobuf>=6.30.2.20250703",
1615
"redis>=3.4.1",
1716
"redis-py-cluster>=2.1.0",
1817
"zstandard>=0.18.0",
@@ -30,6 +29,7 @@ dev = [
3029
"isort>=5.13.2",
3130
"mypy>=1.17.1",
3231
"time-machine>=2.16.0",
32+
"types-protobuf>=5.27.0.20240626,<6.0.0",
3333
]
3434
[project.optional-dependencies]
3535
examples = [

integration_tests/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dev = [
2121
"isort>=5.13.2",
2222
"mypy>=1.17.1",
2323
"types-pyyaml>=6.0.12.20241230",
24-
"types-protobuf>=6.30.2.20250703",
24+
"types-protobuf>=5.27.0.20240626,<6.0.0",
2525
]
2626

2727
[tool.uv]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dev = [
2222
"isort>=5.13.2",
2323
"mypy>=1.17.1",
2424
"types-pyyaml>=6.0.12.20241230",
25-
"types-protobuf>=6.30.2.20250703",
25+
"types-protobuf>=5.27.0.20240626,<6.0.0",
2626
]
2727

2828
[tool.uv]

uv.lock

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)