-
-
Notifications
You must be signed in to change notification settings - Fork 278
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
TypeError: Plain typing.NoReturn is not valid as type argument in Astroid 2.8.5 + Python 3.7.0/1 #1239
Comments
This seems to be caused by https://bugs.python.org/issue34921 Perhaps we also need to update the import guards in |
I was in the process of adding |
Pierre-Sassoulas
added a commit
that referenced
this issue
Nov 12, 2021
This was referenced Nov 14, 2021
13 tasks
2 tasks
Pierre-Sassoulas
added a commit
that referenced
this issue
Nov 21, 2021
Pierre-Sassoulas
added a commit
that referenced
this issue
Nov 21, 2021
Relates to #1239 Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
tushar-deepsource
pushed a commit
to tushar-deepsource/astroid
that referenced
this issue
Dec 20, 2021
…1240) Relates to pylint-dev#1239 Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
Current behavior
An error is raised
In this commit b62f243#diff-039e09546480e9ce70fc9a23e975f1ac2364f6d0192e330311d204653947a216R34 there is a conditional import that checks if Python >= 3.6.2, but that should also include Python 3.7.0 and 3.7.1 (which have the same issue as Python 3.6.0/1).
Expected behavior
There should be no error
python -c "from astroid import pkginfo; print(pkginfo.version)" output
This raises the same error as above
The text was updated successfully, but these errors were encountered: