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

Upgrade to Mypy 1.0 #1360

Merged
merged 3 commits into from
Feb 7, 2023
Merged

Conversation

christianbundy
Copy link
Contributor

I have made things!

Upgrade to Mypy 1.0

Related issues

Refs python/mypy#13685

@intgr
Copy link
Collaborator

intgr commented Feb 6, 2023

Awesome. Is there a reason this is still in draft?

@christianbundy christianbundy marked this pull request as ready for review February 6, 2023 21:39
@christianbundy
Copy link
Contributor Author

Nope! Just didn't notice that CI passed. ✅

@@ -31,7 +31,7 @@ def find_stub_files(name: str) -> List[str]:
]

extras_require = {
"compatible-mypy": ["mypy>=0.991,<1.0"],
"compatible-mypy": ["mypy>=1.0,<1.1"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to bump the minimum, or is that the policy? Seems like there's no braking changes here?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only affects those that use django-stubs[compatible-mypy], yes we bump lower bound in that case.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah right, nvm me, I'm blind 😇

Copy link
Collaborator

@intgr intgr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me.

Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks a lot!

@sobolevn sobolevn merged commit 2dcb47c into typeddjango:master Feb 7, 2023
@adamchainz
Copy link
Contributor

Nice one!

@noamcohen97
Copy link

Nice! Is there a new release planned?

@intgr
Copy link
Collaborator

intgr commented Feb 7, 2023

@noamcohen97 See #1363

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.

6 participants