-
-
Notifications
You must be signed in to change notification settings - Fork 143
python 3.12 and pyright 1.1.334 error: Method "fromtimestamp" overrides class "datetime" in an incompatible manner #813
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
Comments
I can't reproduce this. This may be an issue in that you're using python 3.12. Can you try python 3.9 ? Alternatively, try modifying |
Yes, there is not any issue in python 3.9 environment.Here are full logs,maybe useful
python 3.9.18+pyright 1.1.334
BTW, the logs of python 3.9 envrioment containes |
Thanks for the tests. It sounds like with python 3.12, we have a failure with the latest version of pyright and the typeshed stubs. I don't think the error you received in the python 3.9 environment is an issue. I've updated the title of the issue since it will allow us to focus on what is wrong. |
Describe the bug
I'm Follwing the setup.md to set up an development envirment. When I execute
poe test_all
.Pyright test cannot be finished and prints this error message.To Reproduce
pandas
example that is not properly checked by the stubs.unit test in
tests/
mypy
orpyright
).pyright
kernel version: 6.5.8
3.12.0
pyright 1.1.334
pandas-stubs
2.1.1.230928
Additional context
I didn't modify anything in this project.
The text was updated successfully, but these errors were encountered: