Skip to content

Conversation

@rgommers
Copy link
Member

This reverts a very small part of gh-30147, because it broke Pythran (see pythran#2368). While a new Pythran 0.18.1 release is available, that doesn't help for the SciPy 1.15.x releases which allow numpy<2.5 and pythran<0.18, see
https://github.com/scipy/scipy/blob/maintenance/1.15.x/pyproject.toml#L30-L41. So introducing this signature change only for 2.5.0 is much better, to avoid breaking SciPy 1.15.x for all users who need to build from source.

In addition, doing so doesn't leave us only a very narrow window with compatible NumPy and Pythran releases which would otherwise bite distro packagers as well.

We can reintroduce this change in main in a few weeks, after 2.4.x has branched.

Cc @serge-sans-paille @jorenham @charris for visibility.

This reverts a very small part of numpygh-30147, because it broken Pythran
(see pythran#2368). While a new Pythran 0.18.1 release is available,
that doesn't help for the SciPy 1.15.x releases which allow
numpy<2.5 and pythran<0.18, see
https://github.com/scipy/scipy/blob/maintenance/1.15.x/pyproject.toml#L30-L41
So introducing this signature change only for 2.5.0 is much better.

In addition, doing so doesn't leave us only a very narrow window with
compatible NumPy and Pythran releases which would otherwise bite distro
packagers as well.
@jorenham
Copy link
Member

Yea good call, thanks Ralf.

@serge-sans-paille
Copy link
Contributor

Sorry about that :-/
And thanks @rgommers for the temporary revert.

@rgommers
Copy link
Member Author

No need to be sorry Serge, getting this fixed in Pythran within a week so that we can reintroduce the signature update in 2.5.0 was very helpful.

@jorenham jorenham merged commit 176a063 into numpy:main Nov 16, 2025
78 checks passed
@rgommers rgommers deleted the revert-fromstring-signature branch November 16, 2025 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants