Skip to content

chore(deps): Update numpy requirement from 0.28 to 0.29 in /rust#538

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/rust/numpy-0.29
Closed

chore(deps): Update numpy requirement from 0.28 to 0.29 in /rust#538
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/rust/numpy-0.29

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 15, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on numpy to permit the latest version.

Release notes

Sourced from numpy's releases.

v0.28.0

What's Changed

New Contributors

Full Changelog: PyO3/rust-numpy@v0.27.1...v0.28.0

Changelog

Sourced from numpy's changelog.

Changelog

  • Unreleased

  • v0.29.0

    • Fix PyArray_DTypeMeta definition when Py_LIMITED_API is disabled (#532)
    • The NumPy C API binding has been updated to target the ABI v2, while maintaining runtime compatibility with NumPy v1 targeting the API v1.15. The higher interface is unchanged. (#537)
    • Fix is_exact_type_of / cast_exact to use PyArray_CheckExact instead of PyArray_Check, correctly rejecting subclasses of ndarray. (#550)
    • Bump PyO3 dependency to v0.29.0 (#553)
      • Fix PyCapsule::new_with_destructor to use PyCapsule::new_with_value_and_destructor.
      • Open nalgebra range to include 0.35.
  • v0.28.0

    • Fix mismatched behavior between PyArrayLike1 and PyArrayLike2 when used with floats (#520)
    • Add ownership-moving conversions into PyReadonlyArray and PyReadwriteArray (#524)
    • Fix UB when calling PyArray::as_slice and as_slice_mut on misaligned arrays (#525)
    • Bump PyO3 dependency to v0.28.0. (#530)
  • v0.27.1

    • Bump ndarray dependency to v0.17. (#516)
  • v0.27.0

    • Bump PyO3 dependency to v0.27.0. (#515)
  • v0.26.0

    • bump MSRV to 1.74, matching PyO3 (#504)
    • extend supported nalgebra version to 0.34 (#503)
    • Bump PyO3 dependency to v0.26.0. (#506)
  • v0.25.0,

    • Bump PyO3 dependency to v0.25.0. (#492)
  • v0.24.0

    • Bump PyO3 dependency to v0.24.0. (#483)
    • Support Python 3.13t "free-threaded" Python. (#471)
  • v0.23.0

    • Drop support for PyPy 3.7 and 3.8. (#470)
    • Require Element: Sync as part of the free-threading support in PyO3 0.23 (#469)
    • Bump PyO3 dependency to v0.23.0 ([#457])
      • removed the gil-refs feature
      • reintroduced function names without _bound suffix + deprecating the old names
      • switched to IntoPyObject as trait bound
    • Bump rustc-hash dependency to 2.0. ([#472])
  • v0.22.1

    • Fix building on 32-bit Windows. (#463)
    • Add PyReadwriteArray::make_nonwriteable. (#462)
    • Implement From<PyReadWriteArray> for PyReadonlyArray. (#462)

... (truncated)

Commits

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 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 [numpy](https://github.com/PyO3/rust-numpy) to permit the latest version.
- [Release notes](https://github.com/PyO3/rust-numpy/releases)
- [Changelog](https://github.com/PyO3/rust-numpy/blob/main/CHANGELOG.md)
- [Commits](PyO3/rust-numpy@v0.28.0...v0.28.0)

---
updated-dependencies:
- dependency-name: numpy
  dependency-version: 0.28.0
  dependency-type: direct:production
...

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

dependabot Bot commented on behalf of github Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, rust. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@igerber

igerber commented Jun 25, 2026

Copy link
Copy Markdown
Owner

Superseded by #548, which bumps both pyo3 and numpy to 0.29 together. These two crates are version-coupled (numpy 0.29 requires pyo3 ^0.29), so neither this PR nor its sibling could resolve on its own — #548 does both in one change (and adds a CHANGELOG note + verification). Closing in favor of #548.

@igerber igerber closed this Jun 25, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jun 25, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/cargo/rust/numpy-0.29 branch June 25, 2026 11:49
wenddymacro pushed a commit to wenddymacro/diff-diff that referenced this pull request Jun 26, 2026
Bumps the Rust backend's pyo3 and numpy crates 0.28 -> 0.29 in lockstep
(numpy 0.29 requires pyo3 ^0.29), resolving two RustSec advisories that
affect pyo3 < 0.29:

- RUSTSEC-2026-0176 (GHSA-36hh-v3qg-5jq4, High): out-of-bounds read in the
  PyList/PyTuple nth/nth_back iterators.
- RUSTSEC-2026-0177 (GHSA-chgr-c6px-7xpp, Medium): missing Sync bound on
  PyCFunction::new_closure closures.

Neither vulnerable path is reachable in this crate: the Rust source has no
PyList/PyTuple iteration, no PyCFunction::new_closure, and builds no
free-threaded wheels. This is a binding-layer-only change -- the math/RNG
crates (ndarray 0.17, faer 0.24, rand 0.10, rand_xoshiro 0.8) are unchanged,
and the Rust-backend bit-identity snapshot test confirms zero numerical drift.

Supersedes Dependabot PRs igerber#537 (pyo3) and igerber#538 (numpy), which each bumped one
crate alone and so could not resolve (the numpy/pyo3 version constraint
couples them).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

1 participant