Skip to content

Conversation

jorenham
Copy link

I noticed that pandas-stubs was already in the list, so I figured that you might also be interested in scipy-stubs :)

@mwaskom
Copy link
Owner

mwaskom commented Jul 6, 2025

Looks like you need to limit it to 3.11+ per the distribution requirements: https://github.com/scipy/scipy-stubs/blob/907fff919bfee5a2302dd7a99e7c346d33f7a935/pyproject.toml#L32

@jorenham
Copy link
Author

jorenham commented Jul 6, 2025

Looks like you need to limit it to 3.11+ per the distribution requirements: scipy/scipy-stubs@907fff9/pyproject.toml#L32

That's only if you use scipy==1.16.*, because earlier versions of scipy-stubs, such as 1.14.1.6, have Python 3.10. The logic behind this, is thatscipy-stubs==X.Y.Z.* targets scipy==X.Y.Z, and therefore matches its python restrictions. And in the recent 1.16 scipy release, support for python 3.10 was dropped.

@jorenham
Copy link
Author

jorenham commented Jul 6, 2025

But that being said, I've restricted the scipy-stubs requirement to python>=3.10.

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