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

COERCION_ERRORS will not support polars=1.0.0 #1682

Closed
2 tasks done
MariusMerkleQC opened this issue Jun 13, 2024 · 2 comments
Closed
2 tasks done

COERCION_ERRORS will not support polars=1.0.0 #1682

MariusMerkleQC opened this issue Jun 13, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@MariusMerkleQC
Copy link
Contributor

MariusMerkleQC commented Jun 13, 2024

The COERCION_ERRORS in polars are deprecated and will not be working when the breaking release 1.0.0 is published.

  • I have checked that this issue has not already been reported.
  • I have confirmed this bug exists on the latest version of pandera.
COERCION_ERRORS = (
    TypeError,
    pl.ArrowError,
    pl.InvalidOperationError,
    pl.ComputeError,
)

They have generally been moved from pl. to pl.exceptions, and the pl.ArrowError is deprecated and will no longer exist in 1.0.0. I'd be happy to open a PR for it.

Expected behavior

Only capture exceptions that are supported by polars=1.0.0.

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome
  • Version: 125.0.6422.142
@MariusMerkleQC MariusMerkleQC added the bug Something isn't working label Jun 13, 2024
@cosmicBboy
Copy link
Collaborator

Yes, please open a PR!

@MariusMerkleQC
Copy link
Contributor Author

Solved in PR #1706

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants