Skip to content

Pin scipy to <1.16 and temporary workaround #964

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

Merged
merged 1 commit into from
Jul 10, 2025

Conversation

edoaltamura
Copy link
Collaborator

Summary

Pins the Scipy dependency to be < 1.16, as a workaround for the failures caused by Scipy 1.16 (#957). PR #961 is expected to resolve this compatibility issue and unpin Scipy to the latest stable version once again.

Suggestion for Qiskit Machine Learning users

As a workaround, please downgrade the Scipy library in your local virtual environments:

pip install scipy==1.15

If this fails, you may try to add the following flags

pip install --force-reinstall -v "scipy==1.15"

To restore Scipy's latest version, you can run pip install --upgrade scipy.

@edoaltamura edoaltamura added type: ci 🔧 Related to Continuous Integration workflows dependencies 🔗 Involves external dependency libraries stable backport potential The bug might be minimal and/or import enough to be port to stable labels Jul 10, 2025
@coveralls
Copy link

Pull Request Test Coverage Report for Build 16203780147

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 90.8%

Totals Coverage Status
Change from base Build 15670591007: 0.0%
Covered Lines: 4530
Relevant Lines: 4989

💛 - Coveralls

@edoaltamura edoaltamura merged commit be94eee into qiskit-community:main Jul 10, 2025
16 checks passed
@edoaltamura edoaltamura deleted the pin-scipy1_15 branch July 10, 2025 19:59
mergify bot pushed a commit that referenced this pull request Jul 10, 2025
(cherry picked from commit be94eee)
edoaltamura added a commit that referenced this pull request Jul 10, 2025
(cherry picked from commit be94eee)

Co-authored-by: Edoardo Altamura <38359901+edoaltamura@users.noreply.github.com>
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 type: ci 🔧 Related to Continuous Integration workflows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants