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

Update compatible-mypy to 1.5.x #1652

Closed
wants to merge 3 commits into from

Conversation

intgr
Copy link
Collaborator

@intgr intgr commented Aug 11, 2023

NB! Do not merge yet, waiting for #1649 to be merged first.

Closes #1650

andersk and others added 3 commits August 17, 2023 10:45
mypy 1.5.0 was fixed to understand that metaclass attributes take
precedence over attributes in the regular class.  So we need to
declare `objects` in the regular class to allow it to be overridden in
subclasses.

Fixes typeddjango#1648.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
@intgr intgr force-pushed the compatible-mypy-1.5 branch from e1eccca to 7ff903f Compare August 17, 2023 07:50
@flaeppe
Copy link
Member

flaeppe commented Sep 5, 2023

Superseded by #1672

@flaeppe flaeppe closed this Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants