Skip to content

Declare missing direct dependencies - #303

Merged
llucax merged 2 commits into
frequenz-floss:v1.x.xfrom
llucax:add-missing-deps
Sep 17, 2026
Merged

llucax merged 2 commits into
frequenz-floss:v1.x.xfrom
llucax:add-missing-deps

Conversation

@llucax

@llucax llucax commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

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.

@llucax
llucax requested a review from a team as a code owner September 17, 2026 08:03
@llucax
llucax requested review from ela-kotulska-frequenz and removed request for a team September 17, 2026 08:03
@github-actions github-actions Bot added part:docs Affects the documentation part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) part:dispatcher Affects the high-level dispatcher interface labels Sep 17, 2026
@llucax
llucax enabled auto-merge September 17, 2026 08:08
@llucax llucax self-assigned this Sep 17, 2026
@llucax
llucax disabled auto-merge September 17, 2026 08:14
@llucax

llucax commented Sep 17, 2026

Copy link
Copy Markdown
Contributor Author

Updated, needs a new approval.

@llucax
llucax enabled auto-merge September 17, 2026 08:47
@llucax
llucax added this pull request to the merge queue Sep 17, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Sep 17, 2026
@llucax
llucax enabled auto-merge September 17, 2026 09:04
@llucax

llucax commented Sep 17, 2026

Copy link
Copy Markdown
Contributor Author

Whoops. New conflict. Updated again, and added a new commit to fix the format and cleanup the release notes.

@llucax
llucax added this pull request to the merge queue Sep 17, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 17, 2026
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>
This will be rendered by GitHub releases, which preserves new lines, so
it looks better if we don't manually wrap.

Also remove placeholders, as the release will happen soon and will not
get new features or content for the currently empty sections.

Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
@llucax

llucax commented Sep 17, 2026

Copy link
Copy Markdown
Contributor Author

The min dependencies were wrong and pytest_min didn't pass. One last amend (and approval needed), I hope this time it goes in.

@llucax
llucax added this pull request to the merge queue Sep 17, 2026
Merged via the queue into frequenz-floss:v1.x.x with commit 6217255 Sep 17, 2026
9 checks passed
@llucax
llucax deleted the add-missing-deps branch September 17, 2026 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:dispatcher Affects the high-level dispatcher interface part:docs Affects the documentation part:tooling Affects the development tooling (CI, deployment, dependency management, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing dependencies in pyproject.toml (frequenz-client-common)

2 participants