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

Fix pandera plugin for 0.20 #2545

Merged
merged 1 commit into from
Jul 1, 2024
Merged

Conversation

thomasjpfan
Copy link
Member

Tracking issue

Closes flyteorg/flyte#999

Why are the changes needed?

Pandera's SchemaModel API was removed in 0.20

What changes were proposed in this pull request?

Use the newer DataFrameModel in tests.

Signed-off-by: Thomas J. Fan <thomasjpfan@gmail.com>
@@ -7,7 +7,7 @@


def test_pandera_dataframe_type_hints():
class InSchema(pandera.SchemaModel):
class InSchema(pandera.DataFrameModel):
Copy link
Member

Choose a reason for hiding this comment

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

Should we set a lower bound in the setup.py?

Copy link
Member

@pingsutw pingsutw Jul 1, 2024

Choose a reason for hiding this comment

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

nvm, this is a unit test

Copy link

codecov bot commented Jul 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.81%. Comparing base (eb20459) to head (0424ed9).
Report is 226 commits behind head on master.

❗ There is a different number of reports uploaded between BASE (eb20459) and HEAD (0424ed9). Click for more details.

HEAD has 69 uploads less than BASE
Flag BASE (eb20459) HEAD (0424ed9)
78 9
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #2545       +/-   ##
===========================================
- Coverage   84.74%   55.81%   -28.93%     
===========================================
  Files         315      226       -89     
  Lines       24142    21093     -3049     
  Branches     3666     3681       +15     
===========================================
- Hits        20458    11774     -8684     
- Misses       3025     8830     +5805     
+ Partials      659      489      -170     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@pingsutw pingsutw left a comment

Choose a reason for hiding this comment

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

Thank you!

@pingsutw pingsutw merged commit 308982a into flyteorg:master Jul 1, 2024
47 of 48 checks passed
bgedik pushed a commit to bgedik/flytekit that referenced this pull request Jul 3, 2024
Signed-off-by: Thomas J. Fan <thomasjpfan@gmail.com>
Signed-off-by: bugra.gedik <bugra.gedik@predera.ai>
fiedlerNr9 pushed a commit that referenced this pull request Jul 25, 2024
Signed-off-by: Thomas J. Fan <thomasjpfan@gmail.com>
Signed-off-by: Jan Fiedler <jan@union.ai>
mao3267 pushed a commit to mao3267/flytekit that referenced this pull request Jul 29, 2024
Signed-off-by: Thomas J. Fan <thomasjpfan@gmail.com>
Signed-off-by: mao3267 <chenvincent610@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support Pandera 0.20+ in flytekitplugins-pandera
2 participants