Skip to content

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
@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

2 participants