Skip to content

Conversation

@jorenham
Copy link
Member

@jorenham jorenham commented Sep 13, 2025

optimize.minimize was returning the deprecated OptimizeResult from scipy.optimize.optimize instead of the one from scipy.optimize._optimize, which may have caused false positive deprecation warnings to be reported by type-checkers.

See also #881 (comment)

@jorenham jorenham added this to the 1.16.2.1 milestone Sep 13, 2025
@github-actions
Copy link

mypy_primer results

No ecosystem changes detected ✅

@jorenham jorenham merged commit 2d6cca6 into master Sep 13, 2025
22 checks passed
@jorenham jorenham deleted the optimize.minimize-OptimizeResult-import-fix branch September 13, 2025 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants