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

Pin Mypy to <1.7.0 #306

Merged
merged 1 commit into from
Nov 13, 2023
Merged

Pin Mypy to <1.7.0 #306

merged 1 commit into from
Nov 13, 2023

Conversation

dosisod
Copy link
Owner

@dosisod dosisod commented Nov 13, 2023

Temporarily fixes #305.

Specifically, this error is being caused by this line:

https://github.com/python/mypy/blob/e4355948d797600c7b76da0a916fc5f29d10448e/mypy/traverser.py#L97

Because TraverserVisitor now is a trait you cannot extend from it. There doesn't seem to be a way to get around this on my end, so I'm pinning Mypy as a workaround until I find a solution or something changes upstream with Mypy.

Temporarily fixes #305.

Specifically, this error is being caused by this line:

https://github.com/python/mypy/blob/e4355948d797600c7b76da0a916fc5f29d10448e/mypy/traverser.py#L97

Because `TraverserVisitor` now is a `trait` you cannot extend from it. There
doesn't seem to be a way to get around this on my end, so I'm pinning Mypy as a
workaround until I find a solution or something changes upstream with Mypy.
@dosisod dosisod merged commit 63209fc into master Nov 13, 2023
3 checks passed
@dosisod dosisod deleted the pin-mypy branch November 13, 2023 21:08
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.

[Bug]: interpreted classes cannot inherit from compiled traits
1 participant