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

Bump mypy to 1.7.0 #11010

Merged
merged 1 commit into from
Nov 10, 2023
Merged

Bump mypy to 1.7.0 #11010

merged 1 commit into from
Nov 10, 2023

Conversation

AlexWaygood
Copy link
Member

@AlexWaygood AlexWaygood commented Nov 10, 2023

This mypy release means that mypy now supports PEP-646 and PEP-692 (TypeVarTuple and Unpack) by default 🥳

X-ref:


# No longer passes with mypy 1.5.0
# now that mypy gives a tailored signature for dataclasses.replace()
# (https://github.com/python/mypy/issues/15843):
#
# dc.replace(y)
dc.replace(y)
Copy link
Member Author

Choose a reason for hiding this comment

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

This passes mypy again, following python/mypy#15962 (thanks @ikonst!)

@AlexWaygood AlexWaygood merged commit 3f887d5 into python:main Nov 10, 2023
75 checks passed
@AlexWaygood AlexWaygood deleted the mypy-bump branch November 10, 2023 15:13
@AlexWaygood

This comment was marked as resolved.

@JelleZijlstra

This comment was marked as resolved.

@jessemyers-lettuce

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants