`mypy` somehow fails when run on Python-3.9.0a5 ``` src/aapns/connection.py:36: error: syntax error in type comment ``` I'm pretty sure it worked with Python-3.9.0a4 and it works with Python-3.8.2: ``` src/aapns/connection.py:36: error: "list" is not subscriptable, use "typing.List" instead ```
Activity
dimaqq commentedon Apr 1, 2020
Simplified reproducer:
vs. working 3.8
msullivan commentedon Apr 3, 2020
I was able to reproduce this. Originally I installed mypy on 3.9 in a virtualenv and it passed, but when I did it in a venv it failed.
I suspect this one is going to cause me some heartburn.
msullivan commentedon Apr 3, 2020
OK, I retract that claim. I can just reproduce it with no trouble.
msullivan commentedon Apr 3, 2020
OK the issue is that a bunch of stuff in the AST changed. I filed #8627 to be a more specific bug for that and will close this one. Thank you!
testing Python 3.9
fix(template): update mypy version of pyproject.toml
fix(template): update mypy version of pyproject.toml
testing Python 3.9