Skip to content

Pin grpc related dependencies#254

Merged
llucax merged 5 commits intofrequenz-floss:v0.17.xfrom
llucax:pin-deps
Sep 10, 2024
Merged

Pin grpc related dependencies#254
llucax merged 5 commits intofrequenz-floss:v0.17.xfrom
llucax:pin-deps

Conversation

@llucax
Copy link
Copy Markdown
Contributor

@llucax llucax commented Sep 10, 2024

We can't use wide dependencies because otherwise when building the wheel, the latest version is used, but the generate code should use the minimum supported version for the generation, not the latest one. See: protobuf.dev/support/cross-version-runtime-guarantee

We also need to update the frequenz-api-common dependency to get the fix for the grpcio version too.

Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
This is to make sure we pull a fix for the `protobuf` and `grpcio`
versions used to generate the python files.

Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
We can't use wide dependencies because otherwise when building the
wheel, the latest version is used, but the generate code should use the
minimum supported version for the generation, not the latest one. See:
https://protobuf.dev/support/cross-version-runtime-guarantee/

Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
@llucax llucax requested review from a team as code owners September 10, 2024 12:42
@llucax llucax requested review from daniel-zullo-frequenz and tiyash-basu-frequenz and removed request for a team September 10, 2024 12:42
@github-actions github-actions Bot added part:docs Affects the documentation part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) labels Sep 10, 2024
This is to avoid an issue with some outdated `griffe` imports.

While upgrading the dependency we need to remove the `custom_templates`
option that we don't use, as it was previously ignored but now the
plugin checks if the directory exists and fails if it doesn't.

Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
@llucax
Copy link
Copy Markdown
Contributor Author

llucax commented Sep 10, 2024

Will force merge as things are broken as they are. We can fix anything that needs fixing in a future PR.

@llucax llucax merged commit f5c4161 into frequenz-floss:v0.17.x Sep 10, 2024
@llucax llucax deleted the pin-deps branch September 10, 2024 13:08
@llucax llucax added this to the v0.17.1 milestone Sep 10, 2024
@llucax llucax mentioned this pull request Sep 13, 2024
github-merge-queue Bot pushed a commit that referenced this pull request Sep 13, 2024
This is a backport of #254 plus a few v0.15 specific fixes to make the
CI pass in this old branch.

- **Bump `frequenz-api-common` submodule to v0.6.2**
- **Pin grpc related dependencies**
- **Bump mkdocstrings dependencies**
- **Fix `mypy` configuration**
- **Stop using strict mode in `mkdocs.yml`**
shsms added a commit to shsms/frequenz-api-weather that referenced this pull request Sep 23, 2024
We can't use wide dependencies because otherwise when building the
wheel, the latest version is used, but the generate code should use the
minimum supported version for the generation, not the latest one. See:
https://protobuf.dev/support/cross-version-runtime-guarantee/

Based on the changes in
frequenz-floss/frequenz-api-microgrid#254.

Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
shsms added a commit to shsms/frequenz-api-weather that referenced this pull request Sep 23, 2024
We can't use wide dependencies because otherwise when building the
wheel, the latest version is used, but the generate code should use the
minimum supported version for the generation, not the latest one. See:
https://protobuf.dev/support/cross-version-runtime-guarantee/

Based on the changes in
frequenz-floss/frequenz-api-microgrid#254.

Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

1 participant