Skip to content

Use cudf.Index instead of cudf.GenericIndex. - #5738

Merged
raydouglass merged 1 commit into
NVIDIA:branch-24.04from
bdice:cudf-index
Feb 1, 2024
Merged

Use cudf.Index instead of cudf.GenericIndex.#5738
raydouglass merged 1 commit into
NVIDIA:branch-24.04from
bdice:cudf-index

Conversation

@bdice

@bdice bdice commented Jan 31, 2024

Copy link
Copy Markdown
Contributor

I saw the cuml docs build failed, with the error below:

Failed to import cuml.compose.
Possible hints:
* AttributeError: module 'cudf' has no attribute 'GenericIndex'
* KeyError: 'cuml'

This is due to pandas 2 changes in cudf that need updated in cuml. This PR is unlikely to contain the full changeset of things needed for pandas 2 support, but it fixes one problem and we can let CI tell us the rest of the failures.

@github-actions github-actions Bot added the Cython / Python Cython or Python issue label Jan 31, 2024
@bdice

bdice commented Jan 31, 2024

Copy link
Copy Markdown
Contributor Author

As expected, there are lots of test failures due to the pandas 2 changes in cudf. However, this change did fix the docs build! 😄 Maybe we can admin-merge this and let the test failures be addressed in a later PR?

@raydouglass raydouglass added bug Something isn't working non-breaking Non-breaking change labels Feb 1, 2024
@raydouglass
raydouglass marked this pull request as ready for review February 1, 2024 17:26
@raydouglass
raydouglass requested a review from a team as a code owner February 1, 2024 17:26
@raydouglass
raydouglass merged commit 40b5581 into NVIDIA:branch-24.04 Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working Cython / Python Cython or Python issue non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants