Skip to content
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

Field uses deprecated attr.ib(cmp=False) #408

Open
twm opened this issue Oct 9, 2020 · 0 comments
Open

Field uses deprecated attr.ib(cmp=False) #408

twm opened this issue Oct 9, 2020 · 0 comments
Labels

Comments

@twm
Copy link
Contributor

twm commented Oct 9, 2020

default = attr.ib(type=Optional[Any], default=None, cmp=False)

This causes attrs to issue a deprecation warning:

builtins.DeprecationWarning: The usage of cmp is deprecated and will be removed on or after 2021-06-01. Please use eq and order instead.

@wsanchez wsanchez added the bug label May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants