-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
MNT improve UnsetMetadataPassedError error message and fix disable metadata routing in examples #31069
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
MNT improve UnsetMetadataPassedError error message and fix disable metadata routing in examples #31069
Conversation
It seems the CI brings out an old regression that had already been fixed. I cannot re-create this locally and I would also think it's unrelated to this PR. Or could it actually be that properly disabling metadata routing after the execution of the examples influecences how scikit-learn/sklearn/utils/estimator_checks.py Line 1555 in 0dbbac9
Maybe @antoinebaker, would you mind having a look? Since you have worked on several PRs in this realm grouped around issue: #30131 |
Yes it's unrelated to this PR, it's a general CI failure to fix #31098. |
Oh thank you, @antoinebaker, I had missed the issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catches @StefanieSenger
Once #31124 is merged, we need to merge with |
Reference Issues/PRs
Addressing this comment: #31014 (comment)
What does this implement/fix? Explain your changes.
Adds a link to the metadata routing part of the user guide to the error message when requests are not properly set.
Fixes CI failures that stem from metadata routing not being disabled in some of the examples. (I am not sure why this didn't pop up earlier, but this PR is now also fixing this. )
CC @adrinjalali