Skip to content

Commit 362df15

Browse files
Update frequenz-SDK to 1.0.0-rc801
The latest frequenz-SDK 1.0.0-rc801 is required to resolve dependency conflicts for SDK apps based on that version. The type-checker complained about missing grpc-stubs and grpc.aio imports, which are now added to the mypy configuration. Signed-off-by: Daniel Zullo <[email protected]>
1 parent 51d3f07 commit 362df15

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
## Upgrading
88

9-
<!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with -->
9+
- The dispatch high level interface now depends on `frequenz-sdk` version `v1.0.0-rc801`.
1010

1111
## New Features
1212

pyproject.toml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ dependencies = [
3939
# Make sure to update the version for cross-referencing also in the
4040
# mkdocs.yml file when changing the version here (look for the config key
4141
# plugins.mkdocstrings.handlers.python.import)
42-
"frequenz-sdk == 1.0.0rc601",
42+
"frequenz-sdk == 1.0.0-rc801",
4343
"frequenz-channels >= 1.1.0, < 2.0.0",
4444
"frequenz-client-dispatch >= 0.5.0, < 0.6.0",
4545
]
@@ -72,6 +72,7 @@ dev-mkdocs = [
7272
]
7373
dev-mypy = [
7474
"mypy == 1.11.1",
75+
"grpc-stubs == 1.24.12", # This dependency introduces breaking changes in patch releases
7576
"types-Markdown == 3.6.0.20240316",
7677
"types-python-dateutil==2.9.0.20240316",
7778
# For checking the noxfile, docs/ script, and tests
@@ -179,7 +180,13 @@ packages = ["frequenz.dispatch"]
179180
strict = true
180181

181182
[[tool.mypy.overrides]]
182-
module = ["mkdocs_macros.*", "async_solipsism", "async_solipsism.*"]
183+
module = [
184+
"mkdocs_macros.*",
185+
"async_solipsism",
186+
"async_solipsism.*",
187+
"grpc.aio",
188+
"grpc.aio.*",
189+
]
183190
ignore_missing_imports = true
184191

185192
[tool.setuptools_scm]

0 commit comments

Comments
 (0)