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 scipy from 1.12.0 to 1.14.0 #321

Merged
merged 1 commit into from
Aug 2, 2024
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 19, 2024

Bumps scipy from 1.12.0 to 1.14.0.

Release notes

Sourced from scipy's releases.

SciPy 1.14.0 Release Notes

SciPy 1.14.0 is the culmination of 3 months of hard work. It contains many new features, numerous bug-fixes, improved test coverage and better documentation. There have been a number of deprecations and API changes in this release, which are documented below. All users are encouraged to upgrade to this release, as there are a large number of bug-fixes and optimizations. Before upgrading, we recommend that users check that their own code does not use deprecated SciPy functionality (to do so, run your code with python -Wd and check for DeprecationWarning s). Our development attention will now shift to bug-fix releases on the 1.14.x branch, and on adding new features on the main branch.

This release requires Python 3.10+ and NumPy 1.23.5 or greater.

For running on PyPy, PyPy3 6.0+ is required.

Highlights of this release

  • SciPy now supports the new Accelerate library introduced in macOS 13.3, and has wheels built against Accelerate for macOS >=14 resulting in significant performance improvements for many linear algebra operations.
  • A new method, cobyqa, has been added to scipy.optimize.minimize - this is an interface for COBYQA (Constrained Optimization BY Quadratic Approximations), a derivative-free optimization solver, designed to supersede COBYLA, developed by the Department of Applied Mathematics, The Hong Kong Polytechnic University.
  • scipy.sparse.linalg.spsolve_triangular is now more than an order of magnitude faster in many cases.

New features

scipy.fft improvements

  • A new function, scipy.fft.prev_fast_len, has been added. This function finds the largest composite of FFT radices that is less than the target length. It is useful for discarding a minimal number of samples before FFT.

scipy.io improvements

  • wavfile now supports reading and writing of wav files in the RF64 format, allowing files greater than 4 GB in size to be handled.

scipy.constants improvements

  • Experimental support for the array API standard has been added.

... (truncated)

Commits
  • 87c4664 REL: SciPy 1.14.0 rel commit [wheel build]
  • ac63c81 Merge pull request #21019 from tylerjereddy/treddy_1.14.0_final_backports
  • 541003f DOC: update 1.14 relnotes [wheel build]
  • a08d1ff MAINT: stats.gstd: warn when an observation is <= 0
  • a4f7119 DEP: special.perm: deprecate non-integer N and k with exact=True (#20909)
  • 73339fb TST: stats: fix use of np.testing to compare xp-arrays
  • 0542df6 DOC: Update 1.14.0 release notes
  • f8e530c STY: _lib._util: silence mypy
  • e2cbda2 TST:sparse.linalg: Skip test due to sensitivity to numerical noise
  • 4fb2e6a TST: robustify test_nnls_inner_loop_case1
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jul 19, 2024
@banesullivan
Copy link
Member

banesullivan commented Jul 20, 2024

    Traceback (most recent call last):
      File "/home/runner/work/pyvista-tutorial/pyvista-tutorial/tutorial/03_figures/a_lesson_figures.py", line 71, in <module>
        p.add_floor('-z', lighting=True, color='tan', pad=1.0)
      File "/home/runner/.virtualenvs/.venv/lib/python3.10/site-packages/pyvista/plotting/plotter.py", line 988, in add_floor
        return self.renderer.add_floor(*args, **kwargs)
      File "/home/runner/.virtualenvs/.venv/lib/python3.10/site-packages/pyvista/plotting/renderer.py", line 1901, in add_floor
        ranges = np.array(self.bounds).reshape(-1, 2).ptp(axis=1)
    AttributeError: `ptp` was removed from the ndarray class in NumPy 2.0. Use np.ptp(arr, ...) instead.

Looks like an upstream issue in pyvista

@banesullivan
Copy link
Member

Hm this should have been fixed by pyvista/pyvista#5496 in PyVista v0.44. Is pyvista not pinned to 0.44 here?

@banesullivan
Copy link
Member

@dependabot rebase

Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 20, 2024

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@banesullivan
Copy link
Member

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/pip/scipy-1.14.0 branch from 02340cd to 6f882d2 Compare July 20, 2024 05:48
banesullivan
banesullivan previously approved these changes Jul 20, 2024
@banesullivan banesullivan enabled auto-merge (squash) July 20, 2024 05:51
Bumps [scipy](https://github.com/scipy/scipy) from 1.12.0 to 1.14.0.
- [Release notes](https://github.com/scipy/scipy/releases)
- [Commits](scipy/scipy@v1.12.0...v1.14.0)

---
updated-dependencies:
- dependency-name: scipy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@banesullivan banesullivan merged commit 5732ecb into main Aug 2, 2024
7 checks passed
@banesullivan banesullivan deleted the dependabot/pip/scipy-1.14.0 branch August 2, 2024 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants