Skip to content

Fix tests to accomodate SciPy 1.16.0 changes #961

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

edoaltamura
Copy link
Collaborator

Summary

Updates the argument definitions for the optimizers to match those in SciPy 1.16, similarly to qiskit-community/qiskit-algorithms#234

Fixes #957

@edoaltamura edoaltamura added this to the v.0.8.4 milestone Jul 4, 2025
@edoaltamura edoaltamura added stable backport potential The bug might be minimal and/or import enough to be port to stable dependencies 🔗 Involves external dependency libraries labels Jul 4, 2025
@edoaltamura
Copy link
Collaborator Author

I think the changes that need to be made here go beyond those needed for Algorithms, because I'm getting errors like _slsqplib.error: Input array gradx must be 1D. which appears to come from Numpy.

@woodsp-ibm
Copy link
Member

I think the changes that need to be made here go beyond those needed for Algorithms,

Yes, I saw there were different errors here but I figured nevertheless the changes I had done for algorithms would at least help to cover some of recent CI failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies 🔗 Involves external dependency libraries stable backport potential The bug might be minimal and/or import enough to be port to stable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nightly actions failing due to Scipy 1.16
2 participants