Skip to content

Conversation

@flora-hofmann-frequenz
Copy link
Collaborator

No description provided.

@github-actions github-actions bot added part:docs Affects the documentation part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) labels Jun 5, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the configuration for warning handling related to protobuf and adjusts dependency versions.

  • Removes specific version pinning for grpcio and protobuf.
  • Simplifies pytest warning options by replacing verbose -W flags with a filterwarnings section.
  • Updates the release notes to mention the protobuf warning display update.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
pyproject.toml Removes grpcio/protobuf constraints and revises warning options for pytest.
RELEASE_NOTES.md Updates the release note to mention protobuf warnings changes.
Comments suppressed due to low confidence (2)

pyproject.toml:156

  • Review the change from detailed warning flags to a simpler '-vv' option to ensure that all necessary warnings are still being managed appropriately. Confirm that the new filterwarnings entries fully cover the required warning behavior.
+addopts = "-vv"

pyproject.toml:157

  • Consider verifying that the bare 'error' entry in the filterwarnings list produces the intended behavior, as it is very general and might affect other warnings unexpectedly.
+filterwarnings = [

@flora-hofmann-frequenz flora-hofmann-frequenz force-pushed the proto_warnings branch 2 times, most recently from 63958b4 to 6c5f77e Compare June 5, 2025 05:13
RELEASE_NOTES.md Outdated
## Bug Fixes

<!-- Here goes notable bug fixes that are worth a special mention or explanation -->
* Updated display of protobuf version warnings
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This really shouldn't go to the release notes, it is internal (testing), so it doesn't affect the users of this library.

Comment on lines 33 to 34
"grpcio >=1.70.0, < 2",
"protobuf >= 5.29.3, < 7",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be separated in a different commit or at least be clarified in the commit message.

But you should probably not remove the protobuf dependency, as you are using it in your code.

@flora-hofmann-frequenz flora-hofmann-frequenz force-pushed the proto_warnings branch 2 times, most recently from dc215c6 to 4377afd Compare June 5, 2025 07:59
@flora-hofmann-frequenz flora-hofmann-frequenz requested review from llucax and removed request for cwasicki June 5, 2025 08:02
@flora-hofmann-frequenz flora-hofmann-frequenz merged commit 77429a1 into frequenz-floss:v0.x.x Jun 6, 2025
5 checks passed
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.

2 participants