Skip to content

Update scipy.signal.welch tests to be compatible with upstream dev version #28848

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

Merged
merged 1 commit into from
May 20, 2025

Conversation

dfm
Copy link
Contributor

@dfm dfm commented May 20, 2025

The upstream PR scipy/scipy#22460 made some changes to the behavior of scipy.signal.welch that we started hitting as CI failures. There were 2 issues that we were seeing:

  1. The formatting of a warning was changed, so our existing warning ignore filter wasn't triggering.

  2. The new version of the csd function is more restrictive about the allowed dtypes for the window array. (I think there is actually a bug in scipy wrt the handling of real data and complex window in the latest version. I'll report there!)

@dfm dfm requested a review from jakevdp May 20, 2025 10:48
@dfm dfm self-assigned this May 20, 2025
Copy link
Collaborator

@jakevdp jakevdp left a comment

Choose a reason for hiding this comment

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

Thanks!

@google-ml-butler google-ml-butler bot added kokoro:force-run pull ready Ready for copybara import and testing labels May 20, 2025
@copybara-service copybara-service bot merged commit 69a1825 into jax-ml:main May 20, 2025
21 checks passed
@dfm dfm deleted the fix-welch-ci branch May 20, 2025 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kokoro:force-run pull ready Ready for copybara import and testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants