-
Couldn't load subscription status.
- Fork 13
Update proto warnings #187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update proto warnings #187
Conversation
There was a problem hiding this 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 = [
63958b4 to
6c5f77e
Compare
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 |
There was a problem hiding this comment.
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.
| "grpcio >=1.70.0, < 2", | ||
| "protobuf >= 5.29.3, < 7", |
There was a problem hiding this comment.
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.
dc215c6 to
4377afd
Compare
Signed-off-by: Flora <[email protected]>
4377afd to
0c7a7fc
Compare
No description provided.