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

chore: Relax protobuf constraints #3103

Merged
merged 5 commits into from
Aug 19, 2022

Conversation

kevjumba
Copy link
Collaborator

Signed-off-by: Kevin Zhang kzhang@tecton.ai

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #3101

Signed-off-by: Kevin Zhang <kzhang@tecton.ai>
@codecov-commenter
Copy link

codecov-commenter commented Aug 18, 2022

Codecov Report

Merging #3103 (49d4a95) into master (5b0cc87) will increase coverage by 9.62%.
The diff coverage is 73.91%.

@@            Coverage Diff             @@
##           master    #3103      +/-   ##
==========================================
+ Coverage   66.93%   76.55%   +9.62%     
==========================================
  Files         173      209      +36     
  Lines       15056    17399    +2343     
==========================================
+ Hits        10077    13319    +3242     
+ Misses       4979     4080     -899     
Flag Coverage Δ
integrationtests 67.52% <73.91%> (+0.59%) ⬆️
unittests 58.22% <73.91%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
setup.py 0.00% <ø> (ø)
sdk/python/feast/proto_json.py 87.05% <73.91%> (+18.87%) ⬆️
...hon/feast/infra/offline_stores/snowflake_source.py 89.85% <0.00%> (-2.46%) ⬇️
...python/feast/infra/offline_stores/offline_store.py 82.35% <0.00%> (-0.65%) ⬇️
.../python/feast/infra/feature_servers/base_config.py 100.00% <0.00%> (ø)
...n/feast/infra/feature_servers/aws_lambda/config.py 100.00% <0.00%> (ø)
sdk/python/feast/infra/utils/snowflake_utils.py
.../feature_repos/universal/online_store/cassandra.py 42.85% <0.00%> (ø)
...thon/feast/infra/utils/postgres/postgres_config.py 100.00% <0.00%> (ø)
...on/feast/infra/materialization/snowflake_engine.py 92.70% <0.00%> (ø)
... and 113 more

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

Signed-off-by: Kevin Zhang <kzhang@tecton.ai>
Signed-off-by: Kevin Zhang <kzhang@tecton.ai>
Comment on lines +119 to +120
current_version = pkg_resources.get_distribution("protobuf").version
if version.parse(current_version) < version.parse("3.20"):
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
current_version = pkg_resources.get_distribution("protobuf").version
if version.parse(current_version) < version.parse("3.20"):
current_protobuf_version = pkg_resources.get_distribution("protobuf").version
if version.parse(current_protobuf_version) < version.parse("3.20"):

Copy link
Member

Choose a reason for hiding this comment

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

Maybe link to any relevant issue here?

Comment on lines +167 to +168
current_version = pkg_resources.get_distribution("protobuf").version
if version.parse(current_version) < version.parse("3.20"):
Copy link
Member

Choose a reason for hiding this comment

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

same comment

Signed-off-by: Kevin Zhang <kzhang@tecton.ai>
Copy link
Member

@achals achals left a comment

Choose a reason for hiding this comment

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

/lgtm

Signed-off-by: Kevin Zhang <kzhang@tecton.ai>
@feast-ci-bot feast-ci-bot removed the lgtm label Aug 18, 2022
Copy link
Collaborator

@felixwang9817 felixwang9817 left a comment

Choose a reason for hiding this comment

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

/lgtm

@feast-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: achals, felixwang9817, kevjumba

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [achals,felixwang9817,kevjumba]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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.

Upgrade protobuf past version 4
5 participants