DEP: optimize: Add deprecation warnings to L-BFGS-B disp, iprint#23197
Merged
tylerjereddy merged 1 commit intoscipy:mainfrom Jun 20, 2025
Merged
DEP: optimize: Add deprecation warnings to L-BFGS-B disp, iprint#23197tylerjereddy merged 1 commit intoscipy:mainfrom
disp, iprint#23197tylerjereddy merged 1 commit intoscipy:mainfrom
Conversation
Member
Author
|
@tylerjereddy All yours, failure is not related. |
tylerjereddy
approved these changes
Jun 20, 2025
Contributor
tylerjereddy
left a comment
There was a problem hiding this comment.
Seems "ok," CI is happy apart from the bleeding edge NumPy issue.
I suppose testing with pytest.deprecated_call() might be nice, but let's try to move forward for the release.
I'll try to adjust the release notes accordingly for the "new" deprecations.
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reference issue
#23186
What does this implement/fix?
Added deprecation warnings for
dispandiprintarguments of l-bfgs-b solver ofscipy.optimize. Previously they were deprecated in the documentation since 1.15 for removal in 1.17 however the warning emission was forgotten. Hence to give users the same amount of slack time, the deprecation period is extended until 1.18.