Skip to content

Conversation

effigies
Copy link
Member

imp is going to be removed in Python 3.12, so it's time to attend to deprecations. I went through those listed in https://github.com/nipy/nitime/actions/runs/5886802644/job/15965221215. I think I got most.

@effigies
Copy link
Member Author

Remaining warnings:

  • RuntimeWarning: invalid value encountered in divide
  • RuntimeWarning: In nitime.analysis, the provided input time-series is shorter than the requested NFFT + n_overlap. All coherence values will be set to 1.
  • RuntimeWarning: divide by zero encountered in log

These all seem reasonable to encounter. If expected, could wrap with pytest.warns(), but out of scope for this PR.

This is ready for review.

@arokem
Copy link
Member

arokem commented Aug 18, 2023

Thanks for taking care of these. I think that the remaining warnings are indeed reasonable to leave, so merging.

@arokem arokem merged commit 2d5a7b0 into nipy:master Aug 18, 2023
@effigies effigies deleted the fix/deprecations branch August 18, 2023 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants