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

Enable FutureWarnings/DeprecationWarnings as errors for dask_cudf #15634

Merged
merged 13 commits into from
May 3, 2024

Conversation

mroeschke
Copy link
Contributor

Description

Part of rapidsai/build-planning#26

Checklist

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

@mroeschke mroeschke added Python Affects Python cuDF API. improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels May 1, 2024
@mroeschke mroeschke requested a review from a team as a code owner May 1, 2024 19:36
@rjzamora
Copy link
Member

rjzamora commented May 1, 2024

Sorry - Just noticed that this PR may clash with #15593. Pretty sure my last commit will avoid the problem, but I will keep my eye on CI and follow up if I missed anything.

[EDIT: Definitely looks like I'll need to do some dask-cudf cleanup to get this passing - Sorry about that.]

@mroeschke mroeschke requested a review from a team as a code owner May 1, 2024 23:18
@mroeschke
Copy link
Contributor Author

@rjzamora let me know if you'd like me to wait on #15593 before merging this PR

(Note I had to adjust a FutureWarning in cudf to better match pandas and prevent a false-positive warning for dask-cudf)

Comment on lines 87 to 88
f = tmp_path / "data.json"
f.touch()
Copy link
Contributor

Choose a reason for hiding this comment

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

question: Why do we need to touch the file first?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah turns out we didn't need to touch the file. Removed

@@ -543,7 +543,7 @@ def test_struct_explode(data):


def test_tz_localize():
data = Series(date_range("2000-04-01", "2000-04-03", freq="H"))
data = Series(date_range("2000-04-01", "2000-04-03", freq="h"))
Copy link
Contributor

Choose a reason for hiding this comment

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

Were these "always wrong"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not "always wrong" I think these aliases are just deprecated in pandas 2.x

@mroeschke
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit bee2a38 into rapidsai:branch-24.06 May 3, 2024
71 checks passed
@mroeschke mroeschke deleted the test/dask_cudf/wae branch May 3, 2024 21:58
rapids-bot bot pushed a commit that referenced this pull request May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function non-breaking Non-breaking change Python Affects Python cuDF API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants