-
-
Notifications
You must be signed in to change notification settings - Fork 13
Explain or refer to the brownout strategy in the thrown exception #5
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
Comments
Thanks for taking the time to open an issue! I agree with you that the brownout strategy can be a bit confusing since it can be dismissed as a temporary issue ... but we decided that was the best approach. This article does a good job of explaining why brownouts are useful in general. Improvement suggestions for the error message would be welcome, with the following constraints:
About the need to take action the error message says:
and
so I am not too sure what else can be done on this front. There is also a link to the README of this project in the error message:
For reference the full error message is below, maybe you got something different?
|
Since the brownout period is coming to an end, I think the existing message is appropriate. |
I became aware of sklearn's deprecation because the exception thrown by this package started showing up in my CI Docker build logs, however because it only happens sometimes and the majority of builds still passed, I chalked it up to a quirk of the build system and figured it was more of a warning than a serious error (also because we only use the
sklearn
package through another dependency that still refers to it).I eventually looked at the repository and understood that this error only happened sometimes because of the 'brownout strategy' that was adopted but this is not clear from the error message shown in pip.
It would have been a lot clearer to me that I needed to take action if this was mentioned in the error message shown to users. Since full deprecation is still pretty far in the future and I think other people could be in the same boat as me it would be helpful if the error message could somehow explicitly clarify the implications of this 'brownout strategy'.
The text was updated successfully, but these errors were encountered: