@@ -10,9 +10,9 @@ requires = [
10
10
# sure the code is generated using the minimum supported versions, as older
11
11
# versions can't work with code that was generated with newer versions.
12
12
# https://protobuf.dev/support/cross-version-runtime-guarantee/#backwards
13
- " protobuf == 4.25.3 " ,
14
- " grpcio-tools == 1.51 .1" ,
15
- " grpcio == 1.51 .1" ,
13
+ " protobuf == 5.28.0 " ,
14
+ " grpcio-tools == 1.66 .1" ,
15
+ " grpcio == 1.66 .1" ,
16
16
]
17
17
build-backend = " setuptools.build_meta"
18
18
@@ -33,13 +33,14 @@ classifiers = [
33
33
]
34
34
requires-python = " >= 3.11, < 4"
35
35
dependencies = [
36
- # We can't widen beyond 6 because of protobuf cross-version runtime guarantees
36
+ # We can't widen beyond the current value unless we bump the minimum
37
+ # requirements too because of protobuf cross-version runtime guarantees:
37
38
# https://protobuf.dev/support/cross-version-runtime-guarantee/#major
38
- " protobuf >= 4.25.3 , < 6 " , # Do not widen beyond 6 !
39
+ " protobuf >= 5.28.0 , < 7 " , # Do not widen beyond 7 !
39
40
# We couldn't find any document with a spec about the cross-version runtime
40
41
# guarantee for grpcio, so unless we find one in the future, we'll assume
41
42
# major version jumps are not compatible
42
- " grpcio >= 1.51 .1, < 2" , # Do not widen beyond 2!
43
+ " grpcio >= 1.66 .1, < 2" , # Do not widen beyond 2!
43
44
]
44
45
dynamic = [" version" ]
45
46
49
50
50
51
[project .optional-dependencies ]
51
52
dev-flake8 = [
52
- " flake8 == 7.0.0 " ,
53
+ " flake8 == 7.1.1 " ,
53
54
" flake8-docstrings == 1.7.0" ,
54
55
" flake8-pyproject == 1.2.3" , # For reading the flake8 config from pyproject.toml
55
- " pydoclint == 0.4.1 " ,
56
+ " pydoclint == 0.5.9 " ,
56
57
" pydocstyle == 6.3.0" ,
57
58
]
58
- dev-formatting = [" black == 24.4.2 " , " isort == 5.13.2" ]
59
+ dev-formatting = [" black == 24.8.0 " , " isort == 5.13.2" ]
59
60
dev-mkdocs = [
60
61
" mike == 1.1.2" ,
61
62
" mkdocs-gen-files == 0.5.0" ,
62
63
" mkdocs-literate-nav == 0.6.1" ,
63
- " mkdocs-material == 9.5.21 " ,
64
- " mkdocstrings[python] == 0.25 .1" ,
64
+ " mkdocs-material == 9.5.39 " ,
65
+ " mkdocstrings[python] == 0.26 .1" ,
65
66
" frequenz-repo-config[api] == 0.11.0" ,
66
67
]
67
68
dev-mypy = [
68
- " mypy == 1.10.0 " ,
69
+ " mypy == 1.11.2 " ,
69
70
" grpc-stubs == 1.53.0.5" ,
70
71
# For checking the noxfile, docs/ script, and tests
71
72
" frequenz-api-common[dev-mkdocs,dev-noxfile,dev-pytest]" ,
72
73
]
73
74
dev-noxfile = [" nox == 2024.4.15" , " frequenz-repo-config[api] == 0.11.0" ]
74
75
dev-pylint = [
75
- " pylint == 3.1.0 " ,
76
+ " pylint == 3.3.1 " ,
76
77
# For checking the noxfile, docs/ script, and tests
77
78
" frequenz-api-common[dev-mkdocs,dev-noxfile,dev-pytest]" ,
78
79
]
0 commit comments