You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
eli5\base_utils.py:36
C:\Users\...\eli5\eli5\base_utils.py:36: DeprecationWarning: The usage of `cmp` is deprecated and will be removed on or after 2021-06-01. Please use `eq` and `order` instead.
return attr.s(class_, these=these, init=False, slots=True, **attrs_kwargs) # type: ignore
-- Docs: https://docs.pytest.org/en/stable/warnings.html
I'm not familiar with this modle, so I can't suggest a fix, but perhaps replacing cmp with __eq__ would be sufficient to avoid problems later on.
The text was updated successfully, but these errors were encountered:
https://www.attrs.org/en/stable/changelog.html and the corresponding deprecation warning:
I'm not familiar with this modle, so I can't suggest a fix, but perhaps replacing
cmp
with__eq__
would be sufficient to avoid problems later on.The text was updated successfully, but these errors were encountered: