Skip to content

Bump the rust group across 1 directory with 3 updates - #237

Merged
Cadair merged 1 commit into
mainfrom
dependabot/cargo/rust-a49285ea75
Aug 12, 2026
Merged

Bump the rust group across 1 directory with 3 updates#237
Cadair merged 1 commit into
mainfrom
dependabot/cargo/rust-a49285ea75

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 1, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on pyo3, numpy and num-derive to permit the latest version.
Updates pyo3 to 0.28.3

Release notes

Sourced from pyo3's releases.

PyO3 0.28.3

This patch contains several fixes for stability of the PyO3 0.28.x series:

  • Python::attach and Python::try_attach will no longer return before the thread initializing the interpreter has finished runnning site.py when using the auto-initialize feature.
  • Fix unsoundness in PyBytesWriter::write_vectored when targeting the Python 3.15 prerelease interpreter.
  • Fix possible deadlock in .into_pyobject() implementation for C-like #[pyclass] enums.

A couple of edge cases causing compile failures were also fixed.

Thank you to the following contributors for the improvements:

@​alex @​bschoenmaeckers @​chirizxc @​davidhewitt @​Embers-of-the-Fire @​Icxolu @​maurosilber @​ngoldbaum

Changelog

Sourced from pyo3's changelog.

[0.28.3] - 2026-04-02

Fixed

  • Fix compile error with #[pyclass(get_all)] on a type named Probe. #5837
  • Fix compile error in debug builds related to _Py_NegativeRefcount with Python < 3.12. #5847
  • Fix a race condition where Python::attach or try_attach could return before site.py had finished running. #5903
  • Fix unsoundness in PyBytesWriter::write_vectored with Python 3.15 prerelease versions. #5907
  • Fix deadlock in .into_pyobject() implementation for C-like #[pyclass] enums. #5928

[0.28.2] - 2026-02-18

Fixed

  • Fix complex enum __qualname__ not using python name #5815
  • Fix FFI definition PyType_GetTypeDataSize (was incorrectly named PyObject_GetTypeDataSize). #5819
  • Fix memory corruption when subclassing native types with abi3 feature on Python 3.12+ (newly enabled in PyO3 0.28.0). #5823

[0.28.1] - 2026-02-14

Fixed

  • Fix *args / **kwargs support in experimental-async feature (regressed in 0.28.0). #5771
  • Fix clippy::declare_interior_mutable_const warning inside #[pyclass] generated code on enums. #5772
  • Fix ambiguous_associated_items compilation error when deriving FromPyObject or using #[pyclass(from_py_object)] macro on enums with Error variant. #5784
  • Fix __qualname__ for complex #[pyclass] enum variants to include the enum name. #5796
  • Fix missing std::sync::atomic::Ordering import for targets without atomic64. #5808

[0.28.0] - 2026-02-01

Packaging

  • Bump MSRV to Rust 1.83. #5531
  • Bump minimum supported quote version to 1.0.37. #5531
  • Bump supported GraalPy version to 25.0. #5542
  • Drop memoffset dependency. #5545
  • Support for free-threaded Python is now opt-out rather than opt-in. #5564
  • Bump target-lexicon dependency to 0.13.3. #5571
  • Drop indoc and unindent dependencies. #5608

Added

  • Add __init__ support in #[pymethods]. #4951
  • Expose PySuper on PyPy, GraalPy and ABI3 #4951
  • Add PyString::from_fmt and py_format! macro. #5199
  • Add #[pyclass(new = "from_fields")] option. #5421
  • Add pyo3::buffer::PyUntypedBuffer, a type-erased form of PyBuffer<T>. #5458
  • Add PyBytes::new_with_writer #5517
  • Add PyClass::NAME. #5579
  • Add pyo3_build_config::add_libpython_rpath_link_args. #5624

... (truncated)

Commits
  • 743af64 release: 0.28.3
  • 2042b4c fix deadlock when initializing enum via into_pyobject() (#5928)
  • 0157247 ci: update UI tests for Rust 1.94 (#5859)
  • e234f8a Update getting-started.md (#5899)
  • c06848d fix ffi-check in 3.15.0a7 (#5873)
  • 83f4283 remove unused try_trait_v2 feature when enabling the nightly feature (#5868)
  • 0de57ed Fix unsoundness in PyBytesWriter::write_vectored (#5907)
  • 49cd13f fixes #5900 -- address race condition with initialization and site.py loading...
  • c90d163 [fix] Fix std::ffi import for _Py_NegativeRefcount (#5847)
  • b79d725 fix(pyo3-macros): allow pyclass named Probe (#5837)
  • Additional commits viewable in compare view

Updates numpy to 0.29.0

Release notes

Sourced from numpy's releases.

v0.29.0

What's Changed

New Contributors

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

Changelog

Sourced from numpy's changelog.

Changelog

  • Unreleased

    • PyReadonlyArray/PyReadwriteArray extraction now returns a PyErr which reports the actual dtype/dimensionality mismatch instead of nonsensical CastError messages like “'ndarray' is not an instance of 'ndarray'” (#562)
  • 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
  • 4ef0102 Updated to PyO3 version 0.29.0 (#553)
  • edec058 fix: implement is_exact_type_of to check dtype and shape for PyArray (#550)
  • 8e6f59d Update ndarray version constraints in README.md (#544)
  • 3b4b1b0 Fix typos (#543)
  • 3c382b3 Use NumPy C API to implement object to array conversion
  • 9123c34 Add benchmark for array like
  • 061abd9 Port benchmark to criterion
  • 099b0ed Replace std::os::raw with std::ffi (#540)
  • dbc841e Update to target ABI v2 (#537)
  • 47b3da8 Bump tar from 0.4.41 to 0.4.45 in /examples/linalg (#539)
  • Additional commits viewable in compare view

Updates num-derive to 0.5.1

Changelog

Sourced from num-derive's changelog.

Release 0.5.1 (2026-07-20)

  • Remove mention of the old "full-syntax" feature.

Release 0.5.0 (2026-07-20)

Release 0.4.2 (2024-02-06)

Release 0.4.1 (2023-10-07)

Release 0.4.0 (2023-06-29)

  • Update to syn-2 -- thanks @​maurer!
    • This raises the minimum supported rustc to 1.56.
    • The "full-syntax" feature has also been removed.

Release 0.3.3 (2020-10-29)

Release 0.3.2 (2020-08-24)

Release 0.3.1 (2020-07-28)

  • [Add num_traits proc_macro helper for explicit import][35] - thanks @​jean-airoldie!

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Aug 1, 2026
@dependabot
dependabot Bot force-pushed the dependabot/cargo/rust-a49285ea75 branch from 9be6473 to 1299730 Compare August 12, 2026 07:52
@Cadair

Cadair commented Aug 12, 2026

Copy link
Copy Markdown
Member

@dependabot rebase

Updates the requirements on [pyo3](https://github.com/pyo3/pyo3), [numpy](https://github.com/PyO3/rust-numpy) and [num-derive](https://github.com/rust-num/num-derive) to permit the latest version.

Updates `pyo3` to 0.28.3
- [Release notes](https://github.com/pyo3/pyo3/releases)
- [Changelog](https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md)
- [Commits](PyO3/pyo3@v0.28.0...v0.28.3)

Updates `numpy` to 0.29.0
- [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.29.0)

Updates `num-derive` to 0.5.1
- [Changelog](https://github.com/rust-num/num-derive/blob/main/RELEASES.md)
- [Commits](rust-num/num-derive@num-derive-0.4.0...num-derive-0.5.1)

---
updated-dependencies:
- dependency-name: num-derive
  dependency-version: 0.5.1
  dependency-type: direct:production
  dependency-group: rust
- dependency-name: numpy
  dependency-version: 0.29.0
  dependency-type: direct:production
  dependency-group: rust
- dependency-name: pyo3
  dependency-version: 0.28.3
  dependency-type: direct:production
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/rust-a49285ea75 branch from 1299730 to 9bc9bc8 Compare August 12, 2026 08:53
@Cadair
Cadair merged commit 12a12f0 into main Aug 12, 2026
21 checks passed
@Cadair
Cadair deleted the dependabot/cargo/rust-a49285ea75 branch August 12, 2026 10:07
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 rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant