Repository navigation
Commit 7c7c1b6
committed
Declare missing direct dependencies
The package imports `frequenz.client.common`, `frequenz.core` and
`grpc` directly, but none of them was declared in pyproject.toml; they
were only pulled in transitively through `frequenz-client-dispatch`.
If that client changed its own requirements (for example to accept
`frequenz-client-common` v0.4.x), this library could break without any
warning from the resolver.
Declare all three explicitly. The version ranges follow what the
minimum supported `frequenz-client-dispatch` (0.11.3) requires, with
`frequenz-client-common` pinned to `>= 0.3.8, < 0.4.0` as the issue
suggests, so the constraints stay consistent with the dispatch client.
Fixes #302.
Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>1 parent 69aa0f5 commit 7c7c1b6
2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
0 commit comments