Skip to content
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

Updates protos and fixes grpc-tools for protos generation #766

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

elena-kolevska
Copy link
Contributor

No description provided.

@elena-kolevska elena-kolevska requested review from a team as code owners January 8, 2025 19:02
Copy link

codecov bot commented Jan 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.10%. Comparing base (bffb749) to head (37daf90).
Report is 18 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #766      +/-   ##
==========================================
- Coverage   86.63%   86.10%   -0.53%     
==========================================
  Files          84       89       +5     
  Lines        4473     4972     +499     
==========================================
+ Hits         3875     4281     +406     
- Misses        598      691      +93     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -1 +1 @@
grpcio-tools>=1.57.0
grpcio-tools==1.57.0
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
grpcio-tools==1.57.0
grpcio-tools==1.62.3

I did some research and found that 1.62.3 is the latest version before protobuf 1.26.X is used which has breaking changes for Python. Let's pin this to 1.62.3 to get a newer version while maintaining compatibility with more grpcio versions (which use older protobuf versions).

Copy link
Member

Choose a reason for hiding this comment

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

Could you use that version please and regenerate the protos? :)

Copy link
Member

@berndverst berndverst left a comment

Choose a reason for hiding this comment

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

Looks good but see comment on a new grpcio-tools version

Signed-off-by: Elena Kolevska <[email protected]>
@elena-kolevska elena-kolevska merged commit ec48779 into dapr:main Jan 9, 2025
14 of 15 checks passed
elena-kolevska added a commit to famarting/python-sdk that referenced this pull request Jan 9, 2025
* Updates protos and fixes grpc-tools for protos generation

Signed-off-by: Elena Kolevska <[email protected]>

* bumps grpcio tools version

Signed-off-by: Elena Kolevska <[email protected]>

---------

Signed-off-by: Elena Kolevska <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants