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

mypy 0.920 has plugin import error? #50

Closed
goodboy opened this issue Dec 16, 2021 · 2 comments
Closed

mypy 0.920 has plugin import error? #50

goodboy opened this issue Dec 16, 2021 · 2 comments

Comments

@goodboy
Copy link
Member

goodboy commented Dec 16, 2021

On 0.920 I get this error on py3.9 and 3.10:

mypy.ini:2: error: Error importing plugin "trio_typing.plugin": cannot import name 'TypeVarDef' from 'mypy.types' (/opt/hostedtoolcache/Python/3.9.9/x64/lib/python3.9/site-packages/mypy/types.cpython-39-x86_64-linux-gnu.so)

Downgrading to 0.910 on linux avoids the error.

goodboy added a commit to goodboy/tractor that referenced this issue Dec 16, 2021
Avoids the issue noted in
python-trio/trio-typing#50
to keep CI green.
@goodboy
Copy link
Member Author

goodboy commented Dec 16, 2021

Fix is apparently here: python/mypy#6617 (comment)

goodboy added a commit to goodboy/tractor that referenced this issue Dec 16, 2021
Avoids the issue noted in
python-trio/trio-typing#50
to keep CI green.
@oremanj
Copy link
Member

oremanj commented Dec 16, 2021

Fixed by #52.

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

No branches or pull requests

2 participants