Repository navigation
Conversation
- feast_tests_requirements.txt: install feast with fsspec and google-cloud-bigquery[pandas] instead of feast[gcp] so it does not downgrade google-cloud-storage from 3.x to 2.x in the shared test virtualenv. - feast_feature_store_it_test.py: inline ValidateResponse instead of importing it from vertex_ai_feature_store_it_test, which skipped collection when testcontainers.redis was not installed yet. - bigquery_it_test.py: assert (ValueError, RuntimeError) in the three empty-results exception tests so Prism/TestDirectRunner RuntimeError wrappers are accepted while unittest.SkipTest still propagates when --test-pipeline-options is not passed.
5 tasks
Contributor
Author
|
Replaced by native stacked PR #41647. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #41642 +/- ##
=========================================
Coverage 58.03% 58.04%
Complexity 2844 2844
=========================================
Files 1210 1210
Lines 173259 173280 +21
Branches 2329 2329
=========================================
+ Hits 100554 100582 +28
+ Misses 69995 69988 -7
Partials 2710 2710
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes
feastIntegrationTestandbigquery_it_test.py(testcontainersTest) on Python 3.13 / Prism:google-cloud-storagedowngrade (feast_tests_requirements.txt): Replacefeast[gcp]withfeast,fsspec>=2024.1.0, andgoogle-cloud-bigquery[pandas]<4,>=2.feast[gcp]pinsgoogle-cloud-storage<3, which downgradedgoogle-cloud-storage3.x -> 2.19.0 in the shareddirect:py313virtualenv and broke GCS reads (raw_download=True) in subsequent tasks. The remaining GCP client packages are already installed byapache-beam[gcp].feast_feature_store_it_test.py): InlineValidateResponseinstead of importing it fromvertex_ai_feature_store_it_test.py, which raisedSkipTestduring collection whentestcontainers.redisdependencies were not yet installed.RuntimeErrorwrapper without swallowingSkipTest(bigquery_it_test.py): Narrow the three empty-results exception assertions (added in Handle query returned with empty rows gracefully on bigquery enrichmement #36791) toassertRaisesRegex((ValueError, RuntimeError), "no matching row found for query")soTestDirectRunner/PrismRuntimeErrorwrappers pass whileunittest.SkipTeststill propagates in non-IT suites likePreCommit Python Coverage.Verification
direct:py313:feastIntegrationTest(3/3 passed) anddirect:py313:testcontainersTest(35/35 passed) locally and in PostCommit Python (3.13) run 45406881889 on Re-enable Direct and Dataflow inferencePostCommitIT in python313PostCommit #41595.Part of the stack leading up to re-enabling Python 3.13
inferencePostCommitITin #41595 (independent of the other prerequisite PRs; can be merged in any order).