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

3006 - Added a version constraint for grpcio and grpcio-status #1248

Conversation

dennisobrien
Copy link
Contributor

TL;DR

Added a version constraint for grpcio and grpcio-status in order to prevent an incompatible verison of protobuf.

The latest version of grpcio (1.50.0) requires a version of protobuf >= 4.0 that is not compatible with this project. This causes a failure when running make dev-requirements.txt. To fix this, we add a version constraint on grpcio and grpcio-status.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

This was fixed by adding version constraints for grpcio and grpcio-status in requirements.in.

This was originally discussed in this slack thread.

This may be a temporary solution as there was mention of updating the protobuf dependency.

Tracking Issue

flyteorg/flyte#3006

@codecov
Copy link

codecov bot commented Oct 20, 2022

Codecov Report

Merging #1248 (6633303) into master (b7ecdf6) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           master    #1248    +/-   ##
========================================
  Coverage   68.68%   68.68%            
========================================
  Files         288      288            
  Lines       26333    26333            
  Branches     2942     2486   -456     
========================================
  Hits        18087    18087            
  Misses       7768     7768            
  Partials      478      478            

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@eapolinario
Copy link
Collaborator

Can you run make requirements-spark2.txt to update the spark requirements?

…er to prevent an incompatible verison of protobuf.

Signed-off-by: Dennis O'Brien <[email protected]>
@dennisobrien dennisobrien force-pushed the dennisobrien.3006.add_version_constraint_for_grpcio branch from 9af3255 to 6633303 Compare October 20, 2022 07:08
@eapolinario eapolinario merged commit c84c114 into flyteorg:master Oct 20, 2022
VPraharsha03 pushed a commit to VPraharsha03/flytekit that referenced this pull request Oct 23, 2022
…org#1248)

* 3006 - Added a version constraint for grpcio and grpcio-status in order to prevent an incompatible verison of protobuf.

Signed-off-by: Dennis O'Brien <[email protected]>

* Generated requirements-spark2.txt by running make requirements-spark2.txt

Signed-off-by: Dennis O'Brien <[email protected]>

Signed-off-by: Dennis O'Brien <[email protected]>
Signed-off-by: Vivek Praharsha <[email protected]>
@samhita-alla
Copy link
Contributor

@dennisobrien, please fill in this form to claim your swag.

VPraharsha03 pushed a commit to VPraharsha03/flytekit that referenced this pull request Oct 29, 2022
…org#1248)

* 3006 - Added a version constraint for grpcio and grpcio-status in order to prevent an incompatible verison of protobuf.

Signed-off-by: Dennis O'Brien <[email protected]>

* Generated requirements-spark2.txt by running make requirements-spark2.txt

Signed-off-by: Dennis O'Brien <[email protected]>

Signed-off-by: Dennis O'Brien <[email protected]>
kiliangojek pushed a commit to kiliangojek/flytekit that referenced this pull request Nov 15, 2022
…org#1248)

* 3006 - Added a version constraint for grpcio and grpcio-status in order to prevent an incompatible verison of protobuf.

Signed-off-by: Dennis O'Brien <[email protected]>

* Generated requirements-spark2.txt by running make requirements-spark2.txt

Signed-off-by: Dennis O'Brien <[email protected]>

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

Successfully merging this pull request may close these issues.

3 participants