Skip to content

chore: Relax protobuf constraints#3103

Merged
feast-ci-bot merged 5 commits into
feast-dev:masterfrom
kevjumba:relax_protobuf
Aug 19, 2022
Merged

chore: Relax protobuf constraints#3103
feast-ci-bot merged 5 commits into
feast-dev:masterfrom
kevjumba:relax_protobuf

Conversation

@kevjumba

Copy link
Copy Markdown
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

codecov-commenter commented Aug 18, 2022

Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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>

@achals achals left a comment

Copy link
Copy Markdown
Member

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

@felixwang9817 felixwang9817 left a comment

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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

Details 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