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

MAINT: more 1.11.0 backports #18743

Merged

Conversation

tylerjereddy
Copy link
Contributor

There was a slight disruption in the 1.11.0 release process per gh-18732, so this backports two PRs to deal with that:

  1. TST: flaky TestSOSFreqz::test_fs_param #18737
  2. TST: flaky test_complex_iir_dlti #18738

Release notes were updated accordingly.

Flushing the whole CI here is probably not necessary, but I'll allow it to happen since it is still cheaper in wallclock time than having the release process restarted and halted by a surprise later. Hopefully CI is happy enough though (a few known flakes we can ignore I think), and then I'll try to restart the release process today.

* deals with the 1 of the 2 Apple silicon
test failures in scipygh-18732

* I was able to reproduce locally, but because
it was flaky I needed `pytest-repeat` for
consistent failure:
`CC=clang CXX=clang++ FC=gfortran-12 python dev.py test -t scipy/signal/tests/test_filter_design.py::TestSOSFreqz::test_fs_param -- --count=200`

* I verified that with the provided patch/`atol` bump,
we consistently pass even with `2000` repeats

[skip circle]
* deals with the second part of scipygh-18732

* I was able to reproduce locally, but this one was even
flakier--analysis of patch success below, and possibly
related to subtle low-level MacOS ARM issues upstream
in numpy/numpy#23996 (NumPy
`1.25.0`)

* before this patch, 4 trials of this command
with `pytest-repeat`:
`CC=clang CXX=clang++ FC=gfortran-12 python dev.py test -t scipy/signal/tests/test_signaltools.py::TestDecimate::test_complex_iir_dlti -- --count=20000`
`81 failed, 19919 passed in 43.68s`
`81 failed, 19919 passed in 43.79s`
`20000 passed in 33.24s`
`43 failed, 19957 passed in 35.17s`

* after this patch, 6 trials of the same command:
`20000 passed in 30.44s`
`20000 passed in 33.08s`
`20000 passed in 33.46s`
`20000 passed in 33.45s`
`20000 passed in 33.56s`
`20000 passed in 33.30s`

[skip circle]
* update the SciPy `1.11.0` release notes
after a few more backports dealing with
MacOS ARM64 test issues
@tylerjereddy tylerjereddy added the maintenance Items related to regular maintenance tasks label Jun 25, 2023
@tylerjereddy tylerjereddy added this to the 1.11.0 milestone Jun 25, 2023
@tylerjereddy
Copy link
Contributor Author

The only failing test is TestSplu::test_threads_parallel, which is pre-release only and also failing on main PRs recently.

@tylerjereddy tylerjereddy merged commit 58c5d60 into scipy:maintenance/1.11.x Jun 25, 2023
22 of 23 checks passed
@tylerjereddy tylerjereddy deleted the treddy_1_11_0_arm_shims branch June 25, 2023 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Items related to regular maintenance tasks scipy.signal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant