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

hotfix import TerminationCondition for scipy v>=1.14 #2923

Closed
wants to merge 1 commit into from

Conversation

hpc-dave
Copy link
Contributor

@hpc-dave hpc-dave commented Jul 4, 2024

Issue
With updating to scipy 1.14, import from scipy.optimize.nonlin leads to an import error

Temporary Fix
Import from scipy.optimize._nonlin instead

Additional
The use of TerminalCondition should be reviewed. In my opinion, substituting the check done by TerminalCondition would reduce the dependencies of the project and would not decrease readability.

Related to #2922

@hpc-dave hpc-dave changed the title hotfix import TerminationCondition for scipy v>1=1.14 hotfix import TerminationCondition for scipy v>=11.14 Jul 5, 2024
@hpc-dave hpc-dave changed the title hotfix import TerminationCondition for scipy v>=11.14 hotfix import TerminationCondition for scipy v>=1.14 Jul 5, 2024
@hpc-dave
Copy link
Contributor Author

The failed checks seem to be related to other numpy issues. I'll leave the fix for now as it is.

@jgostick
Copy link
Member

jgostick commented Aug 7, 2024

Had to 'redo' this PR in #2931.

@jgostick jgostick closed this Aug 7, 2024
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