Skip to content

Commit 99a4d87

Browse files
chore(deps): update rust crate pyo3 to 0.25.0 (#4364)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [pyo3](https://redirect.github.com/pyo3/pyo3) | workspace.dependencies | minor | `0.24.1` -> `0.25.0` | --- ### Release Notes <details> <summary>pyo3/pyo3 (pyo3)</summary> ### [`v0.25.1`](https://redirect.github.com/pyo3/pyo3/blob/HEAD/CHANGELOG.md#0251---2025-06-12) [Compare Source](https://redirect.github.com/pyo3/pyo3/compare/v0.25.0...v0.25.1) ##### Packaging - Add support for Windows on ARM64. [#&#8203;5145](https://redirect.github.com/PyO3/pyo3/pull/5145) - Add `chrono-local` feature for optional conversions for chrono's `Local` timezone & `DateTime<Local>` instances. [#&#8203;5174](https://redirect.github.com/PyO3/pyo3/pull/5174) ##### Added - Add FFI definition `PyBytes_AS_STRING`. [#&#8203;5121](https://redirect.github.com/PyO3/pyo3/pull/5121) - Add support for module associated consts introspection. [#&#8203;5150](https://redirect.github.com/PyO3/pyo3/pull/5150) ##### Changed - Enable "vectorcall" FFI definitions on GraalPy. [#&#8203;5121](https://redirect.github.com/PyO3/pyo3/pull/5121) - Use `Py_Is` function on GraalPy [#&#8203;5121](https://redirect.github.com/PyO3/pyo3/pull/5121) ##### Fixed - Report a better compile error for `async` declarations when not using `experimental-async` feature. [#&#8203;5156](https://redirect.github.com/PyO3/pyo3/pull/5156) - Fix implementation of `FromPyObject` for `uuid::Uuid` on big-endian architectures. [#&#8203;5161](https://redirect.github.com/PyO3/pyo3/pull/5161) - Fix segmentation faults on 32-bit x86 with Python 3.14. [#&#8203;5180](https://redirect.github.com/PyO3/pyo3/pull/5180) ### [`v0.25.0`](https://redirect.github.com/pyo3/pyo3/blob/HEAD/CHANGELOG.md#0250---2025-05-14) [Compare Source](https://redirect.github.com/pyo3/pyo3/compare/v0.24.2...v0.25.0) ##### Packaging - Support Python 3.14.0b1. [#&#8203;4811](https://redirect.github.com/PyO3/pyo3/pull/4811) - Bump supported GraalPy version to 24.2. [#&#8203;5116](https://redirect.github.com/PyO3/pyo3/pull/5116) - Add optional `bigdecimal` dependency to add conversions for `bigdecimal::BigDecimal`. [#&#8203;5011](https://redirect.github.com/PyO3/pyo3/pull/5011) - Add optional `time` dependency to add conversions for `time` types. [#&#8203;5057](https://redirect.github.com/PyO3/pyo3/pull/5057) - Remove `cfg-if` dependency. [#&#8203;5110](https://redirect.github.com/PyO3/pyo3/pull/5110) - Add optional `ordered_float` dependency to add conversions for `ordered_float::NotNan` and `ordered_float::OrderedFloat`. [#&#8203;5114](https://redirect.github.com/PyO3/pyo3/pull/5114) ##### Added - Add initial type stub generation to the `experimental-inspect` feature. [#&#8203;3977](https://redirect.github.com/PyO3/pyo3/pull/3977) - Add `#[pyclass(generic)]` option to support runtime generic typing. [#&#8203;4926](https://redirect.github.com/PyO3/pyo3/pull/4926) - Implement `OnceExt` & `MutexExt` for `parking_lot` & `lock_api`. Use the new extension traits by enabling the `arc_lock`, `lock_api`, or `parking_lot` cargo features. [#&#8203;5044](https://redirect.github.com/PyO3/pyo3/pull/5044) - Implement `From`/`Into` for `Borrowed<T>` -> `Py<T>`. [#&#8203;5054](https://redirect.github.com/PyO3/pyo3/pull/5054) - Add `PyTzInfo` constructors. [#&#8203;5055](https://redirect.github.com/PyO3/pyo3/pull/5055) - Add FFI definition `PY_INVALID_STACK_EFFECT`. [#&#8203;5064](https://redirect.github.com/PyO3/pyo3/pull/5064) - Implement `AsRef<Py<PyAny>>` for `Py<T>`, `Bound<T>` and `Borrowed<T>`. [#&#8203;5071](https://redirect.github.com/PyO3/pyo3/pull/5071) - Add FFI definition `PyModule_Add` and `compat::PyModule_Add`. [#&#8203;5085](https://redirect.github.com/PyO3/pyo3/pull/5085) - Add FFI definitions `Py_HashBuffer`, `Py_HashPointer`, and `PyObject_GenericHash`. [#&#8203;5086](https://redirect.github.com/PyO3/pyo3/pull/5086) - Support `#[pymodule_export]` on `const` items in declarative modules. [#&#8203;5096](https://redirect.github.com/PyO3/pyo3/pull/5096) - Add `#[pyclass(immutable_type)]` option (on Python 3.14+ with `abi3`, or 3.10+ otherwise) for immutable type objects. [#&#8203;5101](https://redirect.github.com/PyO3/pyo3/pull/5101) - Support `#[pyo3(rename_all)]` support on `#[derive(IntoPyObject)]`. [#&#8203;5112](https://redirect.github.com/PyO3/pyo3/pull/5112) - Add `PyRange` wrapper. [#&#8203;5117](https://redirect.github.com/PyO3/pyo3/pull/5117) ##### Changed - Enable use of `datetime` types with `abi3` feature enabled. [#&#8203;4970](https://redirect.github.com/PyO3/pyo3/pull/4970) - Deprecate `timezone_utc` in favor of `PyTzInfo::utc`. [#&#8203;5055](https://redirect.github.com/PyO3/pyo3/pull/5055) - Reduce visibility of some CPython implementation details: [#&#8203;5064](https://redirect.github.com/PyO3/pyo3/pull/5064) - The FFI definition `PyCodeObject` is now an opaque struct on all Python versions. - The FFI definition `PyFutureFeatures` is now only defined up until Python 3.10 (it was present in CPython headers but unused in 3.11 and 3.12). - Change `PyAnyMethods::is` to take `other: &Bound<T>`. [#&#8203;5071](https://redirect.github.com/PyO3/pyo3/pull/5071) - Change `Py::is` to take `other: &Py<T>`. [#&#8203;5071](https://redirect.github.com/PyO3/pyo3/pull/5071) - Change `PyVisit::call` to take `T: Into<Option<&Py<T>>>`. [#&#8203;5071](https://redirect.github.com/PyO3/pyo3/pull/5071) - Expose `PyDateTime_DATE_GET_TZINFO` and `PyDateTime_TIME_GET_TZINFO` on PyPy 3.10 and later. [#&#8203;5079](https://redirect.github.com/PyO3/pyo3/pull/5079) - Add `#[track_caller]` to `with_gil` and `with_gil_unchecked`. [#&#8203;5109](https://redirect.github.com/PyO3/pyo3/pull/5109) - Use `std::thread::park()` instead of `libc::pause()` or `sleep(9999999)`. [#&#8203;5115](https://redirect.github.com/PyO3/pyo3/pull/5115) ##### Removed - Remove all functionality deprecated in PyO3 0.23. [#&#8203;4982](https://redirect.github.com/PyO3/pyo3/pull/4982) - Remove deprecated `IntoPy` and `ToPyObject` traits. [#&#8203;5010](https://redirect.github.com/PyO3/pyo3/pull/5010) - Remove private types from `pyo3-ffi` (i.e. starting with `_Py`) which are not referenced by public APIs: `_PyLocalMonitors`, `_Py_GlobalMonitors`, `_PyCoCached`, `_PyCoLineInstrumentationData`, `_PyCoMonitoringData`, `_PyCompilerSrcLocation`, `_PyErr_StackItem`. [#&#8203;5064](https://redirect.github.com/PyO3/pyo3/pull/5064) - Remove FFI definition `PyCode_GetNumFree` (PyO3 cannot support it due to knowledge of the code object). [#&#8203;5064](https://redirect.github.com/PyO3/pyo3/pull/5064) - Remove `AsPyPointer` trait. [#&#8203;5071](https://redirect.github.com/PyO3/pyo3/pull/5071) - Remove support for the deprecated string form of `from_py_with`. [#&#8203;5097](https://redirect.github.com/PyO3/pyo3/pull/5097) - Remove FFI definitions of private static variables: `_PyMethodWrapper_Type`, `_PyCoroWrapper_Type`, `_PyImport_FrozenBootstrap`, `_PyImport_FrozenStdlib`, `_PyImport_FrozenTest`, `_PyManagedBuffer_Type`, `_PySet_Dummy`, `_PyWeakref_ProxyType`, and `_PyWeakref_CallableProxyType`. [#&#8203;5105](https://redirect.github.com/PyO3/pyo3/pull/5105) - Remove FFI definitions `PyASCIIObjectState`, `PyUnicode_IS_ASCII`, `PyUnicode_IS_COMPACT`, and `PyUnicode_IS_COMPACT_ASCII` on Python 3.14 and newer. [#&#8203;5133](https://redirect.github.com/PyO3/pyo3/pull/5133) ##### Fixed - Correctly pick up the shared state for conda-based Python installation when reading information from sysconfigdata. [#&#8203;5037](https://redirect.github.com/PyO3/pyo3/pull/5037) - Fix compile failure with `#[derive(IntoPyObject, FromPyObject)]` when using `#[pyo3()]` options recognised by only one of the two derives. [#&#8203;5070](https://redirect.github.com/PyO3/pyo3/pull/5070) - Fix various compile errors from missing FFI definitions using certain feature combinations on PyPy and GraalPy. [#&#8203;5091](https://redirect.github.com/PyO3/pyo3/pull/5091) - Fallback on `backports.zoneinfo` for python <3.9 when converting timezones into python. [#&#8203;5120](https://redirect.github.com/PyO3/pyo3/pull/5120) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/vortex-data/vortex). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS44Mi43IiwidXBkYXRlZEluVmVyIjoiNDEuODIuNyIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOlsiY2hvcmUiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent b403463 commit 99a4d87

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

Cargo.lock

Lines changed: 10 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ primitive-types = { version = "0.13.1" }
145145
prost = "0.14"
146146
prost-build = "0.14"
147147
prost-types = "0.14"
148-
pyo3 = { version = "0.24.1", features = ["extension-module", "abi3-py310"] }
148+
pyo3 = { version = "0.25.0", features = ["extension-module", "abi3-py310"] }
149149
pyo3-log = "0.12.1"
150150
rand = "0.9.0"
151151
rand_distr = "0.5"

0 commit comments

Comments
 (0)