Skip to content

Commit 8db06d9

Browse files
authored
Widen base-client dependency to 0.12.0 (#171)
2 parents 1954f92 + 0ff93d8 commit 8db06d9

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

pyproject.toml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ requires-python = ">= 3.11, < 4"
3838
dependencies = [
3939
"typing-extensions >= 4.6.1, < 5",
4040
"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",
4242
"frequenz-client-common >= 0.1.0, < 0.4.0",
43-
"grpcio >= 1.66.1, < 2",
43+
"grpcio >= 1.70.0, < 2",
4444
"python-dateutil >= 2.8.2, < 3.0",
4545
]
4646
dynamic = ["version"]
@@ -174,7 +174,15 @@ disable = [
174174
]
175175

176176
[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"
178186
testpaths = ["tests", "src"]
179187
asyncio_mode = "auto"
180188
asyncio_default_fixture_loop_scope = "function"
@@ -198,7 +206,3 @@ ignore_missing_imports = true
198206

199207
[tool.setuptools_scm]
200208
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

Comments
 (0)