Avoid pickling lambda in dask LabelBinarizer pytests#7898
Avoid pickling lambda in dask LabelBinarizer pytests#7898rapids-bot[bot] merged 3 commits intorapidsai:release/26.04from
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThis change refactors a test file by extracting an inline lambda function into a named helper function Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Comment |
|
Dask uses That said, this fix isn't wrong, it just shouldn't be necessary. Happy to merge, but I suspect there's something else sneaky going on here. |
|
This needs #7901 before tests will pass. |
|
/merge |
Resolves #7241
To prevent this error and the following exception handling altogether we can avoid using a lambda.