-
Notifications
You must be signed in to change notification settings - Fork 332
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
Rename scipy.fftpack
to scipy.fft
#201
base: master
Are you sure you want to change the base?
Conversation
This submodule is considered legacy and will no longer receive updates. This could also mean it will be removed in future SciPy versions. New code should use scipy.fft. https://docs.scipy.org/doc/scipy/reference/fftpack.html
Will this make imagehash break on installs with old scipy versions? |
What means and is "old"? If that is important, shouldn't it be part already of the tests? |
To have this accepted, we would need to know
Currently nothing is broken and the code is passing tests, so there is little gain by this PR. There is merely a vague threat of potential (not even planned) future incompatibility. Scipy advises new code should use scipy.fft. imagehash is not new code. |
For example, I am on Python 3.11.6 with scipy 1.10.1 and can import fftpack without issue/warning. |
Hi, I checked roughly and can answer a part of your questions:
For the Python version i need to check more, hope I could help a little bit for starters! |
I am still confused though. Does using If there is no problem currently, I'd prefer to wait until scipy disables it, and then make the change in imagehash, to support as long as possible old scipy/python combinations without breaking them. |
Change
scipy.fftpack
toscipy.fft
Reference
Source: https://docs.scipy.org/doc/scipy/reference/fftpack.html
Closes #108