Repository navigation
Commit 100d3bc
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. `frequenz-client-common` is pinned to `>=
0.3.8, < 0.4.0` as the issue suggests and `frequenz-core` follows what
the minimum supported `frequenz-client-dispatch` (0.11.3) requires. The
`grpcio` floor is 1.80.0 because `frequenz-client-common` 0.3.8 needs
`frequenz-api-common >= 0.8.4`, which itself requires `grpcio >= 1.80`.
Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>1 parent 69aa0f5 commit 100d3bc
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