@@ -26,9 +26,13 @@ classifiers = [
2626]
2727requires-python = " >= 3.11, < 4"
2828dependencies = [
29- " typing-extensions >= 4.5.0, < 5" ,
30- " frequenz-api-reporting >= 0.1.1, < 0.2" ,
31- " frequenz-client-common == 0.1.0" ,
29+ " typing_extensions >= 4.6.1, < 5" ,
30+ " grpc-stubs == 1.24.12" ,
31+ " frequenz-api-reporting >= 0.2.0, < 0.3" ,
32+ " frequenz-client-common >= 0.2.0, < 0.3" ,
33+ " grpcio >= 1.54.2, < 2" ,
34+ " grpcio-tools >= 1.54.2, < 2" ,
35+ " protobuf >= 4.25.3, < 5" ,
3236]
3337dynamic = [" version" ]
3438
@@ -57,8 +61,9 @@ dev-mkdocs = [
5761 " frequenz-repo-config[lib] == 0.9.1" ,
5862]
5963dev-mypy = [
60- " mypy == 1.5.1" ,
61- " types-Markdown == 3.4.2.10" ,
64+ " mypy == 1.10.0" ,
65+ " types-Markdown == 3.6.0.20240316" ,
66+ " types-protobuf == 4.24.0.20240129" ,
6267 # For checking the noxfile, docs/ script, and tests
6368 " frequenz-client-reporting[dev-mkdocs,dev-noxfile,dev-pytest]" ,
6469 " pandas-stubs >= 2, < 3" , # Only required for example
@@ -84,7 +89,6 @@ dev = [
8489 " frequenz-client-reporting[dev-mkdocs,dev-flake8,dev-formatting,dev-mkdocs,dev-mypy,dev-noxfile,dev-pylint,dev-pytest]" ,
8590]
8691examples = [
87- " grpcio >= 1.51.1, < 2" ,
8892 " pandas >= 2, < 3" ,
8993]
9094
@@ -159,12 +163,12 @@ namespace_packages = true
159163# (or vice versa). In particular errors saying that type: ignore is not
160164# used but getting the original ignored error when removing the type: ignore.
161165# See for example: https://github.com/python/mypy/issues/2960
162- # no_incremental = true
166+ no_incremental = true
163167packages = [" frequenz.client.reporting" ]
164168strict = true
165169
166170[[tool .mypy .overrides ]]
167- module = [" mkdocs_macros.*" , " sybil" , " sybil.*" ]
171+ module = [" grpc.aio " , " grpc.aio.* " , " mkdocs_macros.*" , " sybil" , " sybil.*" ]
168172ignore_missing_imports = true
169173
170174[tool .setuptools_scm ]
0 commit comments