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

Deprecate scipy.special.lpmn & lpmn_values #25675

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jakevdp
Copy link
Collaborator

@jakevdp jakevdp commented Dec 23, 2024

This is spurred by the deprecation of scipy.special.lpmn and scipy.special.lpmn_values in SciPy version 1.15.0, and the nightly CI test failures due to thes deprecations: https://github.com/jax-ml/jax/actions/runs/12466440919.

I initially attempted to replace the deprecated scipy.special.lpmn with the new scipy.special.assoc_legendre_p_all, but the outputs and conventions differ enough that I abandoned that.

Given the issues with the implementation (e.g. #10623, #19157) and the fact that the functions are poor fits to the acceptance criteria for JAX APIs (see JEP 18137) I believe we should follow Scipy and fully deprecate these APIs.

@jakevdp jakevdp self-assigned this Dec 23, 2024
@jakevdp jakevdp added the pull ready Ready for copybara import and testing label Dec 23, 2024
@jakevdp jakevdp requested a review from hawkinsp December 23, 2024 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pull ready Ready for copybara import and testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant