@@ -38,9 +38,9 @@ requires-python = ">= 3.11, < 4"
38
38
dependencies = [
39
39
" typing-extensions >= 4.6.1, < 5" ,
40
40
" frequenz-api-dispatch == 1.0.0-rc1" ,
41
- " frequenz-client-base >= 0.8.0, < 0.10 .0" ,
41
+ " frequenz-client-base >= 0.8.0, < 0.12 .0" ,
42
42
" frequenz-client-common >= 0.1.0, < 0.4.0" ,
43
- " grpcio >= 1.66.1 , < 2" ,
43
+ " grpcio >= 1.70.0 , < 2" ,
44
44
" python-dateutil >= 2.8.2, < 3.0" ,
45
45
]
46
46
dynamic = [" version" ]
@@ -174,7 +174,15 @@ disable = [
174
174
]
175
175
176
176
[tool .pytest .ini_options ]
177
- addopts = " -W=all -Werror -Wdefault::DeprecationWarning -Wdefault::PendingDeprecationWarning -vv"
177
+ filterwarnings = [
178
+ " error" ,
179
+ " once::DeprecationWarning" ,
180
+ " once::PendingDeprecationWarning" ,
181
+ # We use a raw string (single quote) to avoid the need to escape special
182
+ # chars as this is a regex
183
+ ' ignore:Protobuf gencode version .*exactly one major version older.*:UserWarning' ,
184
+ ]
185
+ addopts = " -vv"
178
186
testpaths = [" tests" , " src" ]
179
187
asyncio_mode = " auto"
180
188
asyncio_default_fixture_loop_scope = " function"
@@ -198,7 +206,3 @@ ignore_missing_imports = true
198
206
199
207
[tool .setuptools_scm ]
200
208
version_scheme = " post-release"
201
-
202
- # Add our own root certificate until we have an official one
203
- [tool .setuptools .package-data ]
204
- "frequenz.client.dispatch" = [" certs/root.crt" ]
0 commit comments