Skip to content

Commit f0444fb

Browse files
authored
Users/bkeryan/mypy protobuf take 2 (#900)
* fix(deps): Rework mypy-protobuf versioning so Renovate won't update the version we use for codegen * chore: Update poetry.lock
1 parent 8734435 commit f0444fb

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,21 @@ nitypes = {version=">=1.0.0"}
6868
[tool.poetry.group.codegen.dependencies]
6969
Mako = "^1.2"
7070
grpcio-tools = [
71+
# requires protobuf v4 or later
7172
{ version = "1.49.1", python = ">=3.9,<3.12" },
7273
{ version = "1.59.0", python = ">=3.12,<3.13" },
74+
# requires protobuf v5 or later
7375
{ version = "1.67.0", python = ">=3.13,<3.14" },
76+
# requires protobuf v6 or later
7477
{ version = "1.75.1", python = "^3.14" },
7578
]
7679
# mypy-protobuf 3.6 is the last version that supports protobuf v4.
77-
mypy-protobuf = ">=3.4,<3.7"
80+
mypy-protobuf = [
81+
# requires protobuf v4 or later
82+
{version = ">=3.4,<3.7", python = ">=3.9,<3.14"},
83+
# requires protobuf v6 or later
84+
{version = ">=3.4", python = "^3.14"}
85+
]
7886

7987
[tool.poetry.group.docs]
8088
optional = true

0 commit comments

Comments
 (0)