Skip to content

Conversation

@chhabrakadabra
Copy link
Collaborator

@chhabrakadabra chhabrakadabra commented Jul 15, 2022

Signed-off-by: Abhin Chhabra abhin.chhabra@shopify.com

What this PR does / why we need it:

I'm pulling out the GCP upgrades out of #2928 since that PR was going to get gnarly. This PR just focuses on GCP upgrades.

Which issue(s) this PR fixes:

Partially completes #2906

Remaining tasks

  • Generate lockfiles for other versions of Python
  • Fix the failing integration tests

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This function seems to always return a string, so the optional type is wrong. Mypy was complaining about one of its usages.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I might pull this out into a helper function if the maintainers validate this approach.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yeah this looks fine!

@codecov-commenter
Copy link

codecov-commenter commented Jul 15, 2022

Codecov Report

Merging #2945 (848de59) into master (d593351) will decrease coverage by 0.03%.
The diff coverage is 83.33%.

@@            Coverage Diff             @@
##           master    #2945      +/-   ##
==========================================
- Coverage   78.65%   78.62%   -0.04%     
==========================================
  Files         184      184              
  Lines       16305    16313       +8     
==========================================
+ Hits        12825    12826       +1     
- Misses       3480     3487       +7     
Flag Coverage Δ
integrationtests 68.67% <83.33%> (-0.12%) ⬇️
unittests 59.42% <66.66%> (-0.01%) ⬇️

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

Impacted Files Coverage Δ
sdk/python/feast/infra/offline_stores/bigquery.py 86.36% <0.00%> (ø)
setup.py 0.00% <ø> (ø)
sdk/python/feast/feature_store.py 85.84% <66.66%> (ø)
sdk/python/feast/utils.py 92.63% <100.00%> (+0.49%) ⬆️
...n/feature_repos/universal/data_sources/bigquery.py 98.11% <100.00%> (+0.07%) ⬆️
sdk/python/tests/utils/online_read_write_test.py 93.54% <0.00%> (-6.46%) ⬇️
.../integration/online_store/test_online_retrieval.py 96.84% <0.00%> (-3.16%) ⬇️
sdk/python/feast/infra/online_stores/datastore.py 87.96% <0.00%> (-1.39%) ⬇️
...east/infra/materialization/lambda/lambda_engine.py 93.75% <0.00%> (+1.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d593351...848de59. Read the comment docs.

@kevjumba kevjumba marked this pull request as ready for review July 18, 2022 22:15
chhabrakadabra and others added 6 commits July 18, 2022 16:16
Signed-off-by: Abhin Chhabra <abhin.chhabra@shopify.com>
Signed-off-by: Abhin Chhabra <abhin.chhabra@shopify.com>
Signed-off-by: Abhin Chhabra <abhin.chhabra@shopify.com>
Signed-off-by: Kevin Zhang <kzhang@tecton.ai>
Signed-off-by: Kevin Zhang <kzhang@tecton.ai>
Signed-off-by: Kevin Zhang <kzhang@tecton.ai>
Signed-off-by: Kevin Zhang <kzhang@tecton.ai>
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, chhabrakadabra, felixwang9817

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]

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

@kevjumba kevjumba merged commit d3868c5 into feast-dev:master Jul 19, 2022
@chhabrakadabra chhabrakadabra deleted the upgrade-gcp-libs branch July 19, 2022 16:50
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.

6 participants