Skip to content
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

adjust test for slice due to typeshed changes #1067

Merged
merged 2 commits into from
Dec 2, 2024

Conversation

Dr-Irv
Copy link
Collaborator

@Dr-Irv Dr-Irv commented Dec 2, 2024

A change was made to typeshed to make slice a Generic, which is causing the mypy_nightly tests to fail. More discussion here:
python/mypy#18225

This fix should allow the CI to pass as well as the mypy_nightly runs. See comment in code.

@Dr-Irv Dr-Irv requested a review from twoertwein December 2, 2024 20:22
@Dr-Irv Dr-Irv closed this Dec 2, 2024
@Dr-Irv Dr-Irv deleted the mypy-fix-slice branch December 2, 2024 20:23
@Dr-Irv Dr-Irv restored the mypy-fix-slice branch December 2, 2024 20:25
@Dr-Irv Dr-Irv reopened this Dec 2, 2024
@Dr-Irv
Copy link
Collaborator Author

Dr-Irv commented Dec 2, 2024

Ooops. Deleted my branch by mistake, but restored it. So should be good to go

@twoertwein twoertwein merged commit 4e21a31 into pandas-dev:main Dec 2, 2024
10 checks passed
@twoertwein
Copy link
Member

Thank you for navigating the subtle differences between mypy/mpy nightly/pyright!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants