-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
Fix nightly and support 2.1.1 #781
Conversation
Dr-Irv
commented
Sep 23, 2023
- Updated some PYI files to disallow future deprecated features.
- Updated tests to work with 2.1 and with nightly
pyarrow = ">=10.0.1" | ||
pytest = ">=7.1.2" | ||
pyright = ">= 1.1.327" | ||
# pyright 1.1.327 has bug fixed in 1.1.328 | ||
pyright = "1.1.326" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which bug is affecting pandas-stubs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not clear, but 1.1.328 is installed in VS Code pre-release and within VS Code, I get no complaints, but when I install 1.1.327, it doesn't like the use of this pattern in core/generic.pyi
:
def somefunc(self: NDFrameT, someargs) -> NDFrameT: ...
complaining like this:
core\generic.pyi:60:15 - error: Type of parameter "self" must be a supertype of its class "NDFrame" (reportGeneralTypeIssues)
1.1.328 is in VSCode, but not on pypi yet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would Self fix the issue?
edit: could also be done later
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If 1.1.328 also fails once released, then I will try that
…. change BusinessDay
@twoertwein addressed all your comments in 3274b29 |
Thank you @Dr-Irv ! |