-
Notifications
You must be signed in to change notification settings - Fork 8.6k
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
[Bug Report] Pyright version update #2700
Comments
That's a node package version number not a pip package version. The CI pipeline uses this github action: https://github.com/jakebailey/pyright-action, which is set to use npm pyright package version 1.1.204 https://www.npmjs.com/package/pyright |
Right, so now I have the same version as in CI but I'm still confused why I get 2 errors on a freshly pulled
|
One thing to note is that https://github.com/jakebailey/pyright-action is being specifically parameterized to check python 3.7 in the CI which may not be the default rules for pyright, and may have different rules than when checking other python versions. |
Could you please create a PR to bump things and fix this? |
Aside from fixing this at the moment, how about adding typing test to the latest supported python version in CI? |
Which numpy version are you using? The problem I'm seeing is that pyright is running with the flag --pythonversion=3.7 on python3.10 and latest numpy. EDIT:
|
I was using NumPy v1.21.4. With NumPy v1.22.3 and But with
|
If you are submitting a bug report, please fill in the following details and use the tag [bug].
Describe the bug
The Pyright version 1.1.204 defined in CI is kind of old, I'm not able to install it from Pip, and the last one 1.1.230 finds a bunch of error that the one we have doesn't.
Code example
Please try to provide a minimal example to reproduce the bug. Error messages and stack traces are also helpful.
System Info
Describe the characteristic of your environment:
Checklist
The text was updated successfully, but these errors were encountered: