Skip to content

Conversation

@jorenham
Copy link
Contributor

Following #62218 and #62211, this adds scipy-stubs as a development dependency. This should help prevent issues like the ones fixed in #62218, #62211, and the ones fixed in this PR. Speaking of, those core.missing changes were needed because mypy is now able to infer the type of terp in _interpolate_scipy_wrapper, but because different types are used for the same symbol (terp), mypy will complain.


  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

@jorenham jorenham changed the title Scipy-stubs scipy-stubs Sep 13, 2025
@jorenham jorenham changed the title scipy-stubs TYP: scipy-stubs Sep 13, 2025
@mroeschke mroeschke added the Typing type annotations, mypy/pyright type checking label Sep 15, 2025
@mroeschke mroeschke added this to the 3.0 milestone Sep 15, 2025
@mroeschke mroeschke merged commit f6565fc into pandas-dev:main Sep 15, 2025
45 checks passed
@mroeschke
Copy link
Member

Great, thanks @jorenham

@jorenham jorenham deleted the scipy-stubs branch September 15, 2025 17:18
eicchen pushed a commit to eicchen/pandas that referenced this pull request Oct 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Typing type annotations, mypy/pyright type checking

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants