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

Bump bqskit and scipy #2262

Merged
merged 4 commits into from
Apr 10, 2024
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 3, 2024

Nate here: because we have a range of supported values for scipy, it's important to test the endpoints occasionally to ensure they still work. When testing this today I found that the latest scipy 1.13.0 works fine (on python 3.11 / macOS), but 1.5.0 up to 1.10.0 did not work (due to not supporting python 3.11). This has probably been the case for a while, and is not necessarily a problem. SciPy 1.10.1 is over a year old now, so I feel good about supporting ~1yr of SciPy releases.

I also bumped BQSKit because it's been out for a while now and was causing an issue with scipy in one of my attempted installs.

What follows is the original dependabot PR description


Updates the requirements on scipy to permit the latest version.

Release notes

Sourced from scipy's releases.

SciPy 1.13.0 Release Notes

SciPy 1.13.0 is the culmination of 3 months of hard work. This out-of-band release aims to support NumPy 2.0.0, and is backwards compatible to NumPy 1.22.4. The version of OpenBLAS used to build the PyPI wheels has been increased to 0.3.26.dev.

This release requires Python 3.9+ and NumPy 1.22.4 or greater.

For running on PyPy, PyPy3 6.0+ is required.

Highlights of this release

  • Support for NumPy 2.0.0.
  • Interactive examples have been added to the documentation, allowing users to run the examples locally on embedded Jupyterlite notebooks in their browser.
  • Preliminary 1D array support for the COO and DOK sparse formats.
  • Several scipy.stats functions have gained support for additional axis, nan_policy, and keepdims arguments. scipy.stats also has several performance and accuracy improvements.

New features

scipy.integrate improvements

  • The terminal attribute of scipy.integrate.solve_ivp events callables now additionally accepts integer values to specify a number of occurrences required for termination, rather than the previous restriction of only accepting a bool value to terminate on the first registered event.

scipy.io improvements

  • scipy.io.wavfile.write has improved dtype input validation.

scipy.interpolate improvements

  • The Modified Akima Interpolation has been added to interpolate.Akima1DInterpolator, available via the new method argument.
  • New method BSpline.insert_knot inserts a knot into a BSpline instance. This routine is similar to the module-level scipy.interpolate.insert function, and works with the BSpline objects instead of tck tuples.

... (truncated)

Commits
  • 7dcd8c5 REL: 1.13.0 release commit [wheel build]
  • 15a69da Merge pull request #20375 from tylerjereddy/treddy_prep_1_13_0_final
  • 4cbb9e8 DOC: PR 20375 revisions
  • 2431661 MAINT: PR 20375 revisions [wheel build]
  • b85940a DOC, REL: set 1.13.0 final unreleased
  • 13c30bd MAINT: spatial: simplify meson.build
  • abb04b2 MAINT: spatial: use cython_lapack in spatial/_qhull.pyx
  • 729ff0f BUG: interpolate: Fix wrong warning message if degree=-1 in `interpolate.RBFI...
  • 8d82b0a MAINT, BUG: bump OpenBLAS (#20362)
  • 0e67a72 MAINT: backport amos license update
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [scipy](https://github.com/scipy/scipy) to permit the latest version.
- [Release notes](https://github.com/scipy/scipy/releases)
- [Commits](scipy/scipy@v1.5.0...v1.13.0)

---
updated-dependencies:
- dependency-name: scipy
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the infrastructure For issues related to building, packaging, and continuous integration. label Apr 3, 2024
@natestemen natestemen self-assigned this Apr 3, 2024
@natestemen natestemen changed the title Update scipy requirement from <=1.11.4,>=1.5.0 to >=1.5.0,<=1.13.0 Bump bqskit and scipy Apr 4, 2024
Copy link

codecov bot commented Apr 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.28%. Comparing base (97de1a3) to head (18544b8).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2262   +/-   ##
=======================================
  Coverage   98.28%   98.28%           
=======================================
  Files          90       90           
  Lines        4263     4263           
=======================================
  Hits         4190     4190           
  Misses         73       73           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@natestemen natestemen merged commit 35139fe into main Apr 10, 2024
18 checks passed
@natestemen natestemen deleted the dependabot/pip/scipy-gte-1.5.0-and-lte-1.13.0 branch April 10, 2024 16:00
cosenal pushed a commit that referenced this pull request Jun 26, 2024
* Update scipy requirement from <=1.11.4,>=1.5.0 to >=1.5.0,<=1.13.0

Updates the requirements on [scipy](https://github.com/scipy/scipy) to permit the latest version.
- [Release notes](https://github.com/scipy/scipy/releases)
- [Commits](scipy/scipy@v1.5.0...v1.13.0)

---
updated-dependencies:
- dependency-name: scipy
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* ignore data file generated by pyscf

* bump bqskit

* bump oldest supported scipy

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: nate stemen <nate@unitary.fund>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure For issues related to building, packaging, and continuous integration.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants