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

[REVIEW] Fix a pytest to match libcudf error type #12855

Closed
wants to merge 2 commits into from

Conversation

galipremsagar
Copy link
Contributor

@galipremsagar galipremsagar commented Feb 27, 2023

Description

Recently in #12426, we changed the runtime exceptions to more specific exceptions on user side. This PR fixes a leftover in pytests that matches with libcudf error type.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@galipremsagar galipremsagar requested a review from a team as a code owner February 27, 2023 19:29
@galipremsagar galipremsagar self-assigned this Feb 27, 2023
@github-actions github-actions bot added the Python Affects Python cuDF API. label Feb 27, 2023
@galipremsagar galipremsagar added bug Something isn't working 3 - Ready for Review Ready for review by team 4 - Needs cuDF (Python) Reviewer non-breaking Non-breaking change and removed Python Affects Python cuDF API. labels Feb 27, 2023
@github-actions github-actions bot added the Python Affects Python cuDF API. label Feb 27, 2023
@galipremsagar galipremsagar added 5 - Ready to Merge Testing and reviews complete, ready to merge and removed 3 - Ready for Review Ready for review by team 4 - Needs cuDF (Python) Reviewer labels Feb 27, 2023
Copy link
Contributor

@vyasr vyasr left a comment

Choose a reason for hiding this comment

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

Sorry I completely misread this PR on initial read, this change appears to be erroneous. The exception type should not have changed at any point. Is this failing for you locally? My guess is that your local build is out of date, specifically the pxd file used for exception handling (updating that alone would not have triggered a rebuild for you if you got it by merging latest 23.04 because pxd updates do not trigger Cython rebuilds).

@galipremsagar
Copy link
Contributor Author

Apologies for the confusion, this was a local build issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - Ready to Merge Testing and reviews complete, ready to merge bug Something isn't working non-breaking Non-breaking change Python Affects Python cuDF API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants