Skip to content

Conversation

ev-br
Copy link
Member

@ev-br ev-br commented Oct 25, 2024

Reference issue

closes #19907

What does this implement/fix?

Add a leading undescore to the interpolate/_interpnd.so extension module.

Additional information

This is the last non-underscored private module in scipy/interpolate (dfitpack was done in #20612)

@ev-br ev-br added scipy.interpolate maintenance Items related to regular maintenance tasks labels Oct 25, 2024
@ev-br ev-br requested a review from h-vetinari October 25, 2024 11:20
@github-actions github-actions bot added Cython Issues with the internal Cython code base Meson Items related to the introduction of Meson as the new build system for SciPy labels Oct 25, 2024
@ev-br ev-br force-pushed the interpnd_underscore branch from 8c7af6d to 0374b9c Compare October 25, 2024 11:40
@lucascolley lucascolley changed the title MAINT: interpolate: rename interpnd -> _interpnd MAINT: interpolate: rename interpnd -> _interpnd Oct 25, 2024
Also add an import shim with the deprecation message.
@ev-br ev-br force-pushed the interpnd_underscore branch from 8f7cf55 to 2b3fec0 Compare October 25, 2024 20:30
Copy link
Member

@j-bowhay j-bowhay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for sorting out this loose end!

@j-bowhay j-bowhay added this to the 1.15.0 milestone Oct 25, 2024
@j-bowhay j-bowhay merged commit af11139 into scipy:main Oct 25, 2024
39 checks passed
@h-vetinari h-vetinari mentioned this pull request Oct 25, 2024
32 tasks
jcannon-gplates added a commit to GPlates/gplately that referenced this pull request Jan 13, 2025
See scipy/scipy#21754

Fixes:
ImportError: cannot import name '_ndim_coords_from_arrays' from
'scipy.interpolate.interpnd'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cython Issues with the internal Cython code base maintenance Items related to regular maintenance tasks Meson Items related to the introduction of Meson as the new build system for SciPy scipy.interpolate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DEP: extend deprecation of private namespaces also to fortran-generated modules
2 participants