Repository navigation
Commit 6217255
authored
Declare missing direct dependencies (#303)
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.
This declares all three explicitly. The version ranges follow what the
minimum supported `frequenz-client-dispatch` (0.11.3) requires, with
`frequenz-client-common` at `>= 0.3.8, < 0.4.0` as suggested in the
issue, so the constraints stay consistent with the dispatch client. 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`.
Fixes #302.2 files changed
Lines changed: 5 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 3 | | |
16 | 4 | | |
17 | 5 | | |
18 | 6 | | |
19 | 7 | | |
20 | 8 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 9 | + | |
| 10 | + | |
| 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