Skip to content

Commit 3b2b10a

Browse files
renovate[bot]Convex, Inc.
authored andcommitted
Update pyo3 dependencies (#22838)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [pyo3](https://togithub.com/pyo3/pyo3) | workspace.dependencies | minor | `0.19.1` -> `0.21.0` | | [pyo3-asyncio](https://togithub.com/awestlake87/pyo3-asyncio) | workspace.dependencies | minor | `0.19.0` -> `0.20.0` | | [pyo3-build-config](https://togithub.com/pyo3/pyo3) | build-dependencies | minor | `0.20.2` -> `0.21.0` | --- ### Release Notes <details> <summary>pyo3/pyo3 (pyo3)</summary> ### [`v0.21.0`](https://togithub.com/pyo3/pyo3/blob/HEAD/CHANGELOG.md#0210-beta0---2024-03-10) [Compare Source](https://togithub.com/pyo3/pyo3/compare/v0.20.3...v0.21.0) ##### Added - Add `PyMemoryView` type. [#&#8203;3514](https://togithub.com/PyO3/pyo3/pull/3514) - Support `async fn` in macros with coroutine implementation [#&#8203;3540](https://togithub.com/PyO3/pyo3/pull/3540) - Implement `PyTypeInfo` for `PyEllipsis`, `PyNone` and `PyNotImplemented`. [#&#8203;3577](https://togithub.com/PyO3/pyo3/pull/3577) - Support `#[pyclass]` on enums that have non-unit variants. [#&#8203;3582](https://togithub.com/PyO3/pyo3/pull/3582) - Add `__name__`/`__qualname__` attributes to `Coroutine` [#&#8203;3588](https://togithub.com/PyO3/pyo3/pull/3588) - Add `coroutine::CancelHandle` to catch coroutine cancellation [#&#8203;3599](https://togithub.com/PyO3/pyo3/pull/3599) - Add support for extracting Rust set types from `frozenset`. [#&#8203;3632](https://togithub.com/PyO3/pyo3/pull/3632) - `FromPyObject`, `IntoPy<PyObject>` and `ToPyObject` are implemented on `std::duration::Duration` [#&#8203;3670](https://togithub.com/PyO3/pyo3/pull/3670) - Add `PyString::to_cow`. Add `Py<PyString>::to_str`, `Py<PyString>::to_cow`, and `Py<PyString>::to_string_lossy`, as ways to access Python string data safely beyond the GIL lifetime. [#&#8203;3677](https://togithub.com/PyO3/pyo3/pull/3677) - Add `Bound<T>` and `Borrowed<T>` smart pointers as a new API for accessing Python objects. [#&#8203;3686](https://togithub.com/PyO3/pyo3/pull/3686) - Add `PyNativeType::as_bound` to convert "GIL refs" to the new `Bound` smart pointer. [#&#8203;3692](https://togithub.com/PyO3/pyo3/pull/3692) - Add `FromPyObject::extract_bound` method, which can be implemented to avoid using the GIL Ref API in `FromPyObject` implementations. [#&#8203;3706](https://togithub.com/PyO3/pyo3/pull/3706) - Add `gil-refs` feature to allow continued use of the deprecated GIL Refs APIs. [#&#8203;3707](https://togithub.com/PyO3/pyo3/pull/3707) - Added methods to `PyAnyMethods` for binary operators (`add`, `sub`, etc.) [#&#8203;3712](https://togithub.com/PyO3/pyo3/pull/3712) - `chrono-tz` feature allowing conversion between `chrono_tz::Tz` and `zoneinfo.ZoneInfo` [#&#8203;3730](https://togithub.com/PyO3/pyo3/pull/3730) - Add definition for `PyType_GetModuleByDef` to `pyo3_ffi`. [#&#8203;3734](https://togithub.com/PyO3/pyo3/pull/3734) - Conversion between `std::time::SystemTime` and `datetime.datetime` [#&#8203;3736](https://togithub.com/PyO3/pyo3/pull/3736) - Add `Py::as_any` and `Py::into_any`. [#&#8203;3785](https://togithub.com/PyO3/pyo3/pull/3785) - Add `PyStringMethods::encode_utf8`. [#&#8203;3801](https://togithub.com/PyO3/pyo3/pull/3801) - Add `PyBackedStr` and `PyBackedBytes`, as alternatives to `&str` and `&bytes` where a Python object owns the data. [#&#8203;3802](https://togithub.com/PyO3/pyo3/pull/3802) - The ability to create Python modules with a Rust `mod` block behind the `experimental-declarative-modules` feature. [#&#8203;3815](https://togithub.com/PyO3/pyo3/pull/3815) - Implement `ExactSizeIterator` for `set` and `frozenset` iterators on `abi3` feature. [#&#8203;3849](https://togithub.com/PyO3/pyo3/pull/3849) - Add `Py::drop_ref` to explicitly drop a \`Py\`\` and immediately decrease the Python reference count if the GIL is already held. [#&#8203;3871](https://togithub.com/PyO3/pyo3/pull/3871) - Implement `FromPyObject` for `Cow<str>`. [#&#8203;3928](https://togithub.com/PyO3/pyo3/pull/3928) - Add `experimental-async` feature. [#&#8203;3931](https://togithub.com/PyO3/pyo3/pull/3931) ##### Changed - - `PyDict::from_sequence` now takes a single argument of type `&PyAny` (previously took two arguments `Python` and `PyObject`). [#&#8203;3532](https://togithub.com/PyO3/pyo3/pull/3532) - Deprecate `Py::is_ellipsis` and `PyAny::is_ellipsis` in favour of `any.is(py.Ellipsis())`. [#&#8203;3577](https://togithub.com/PyO3/pyo3/pull/3577) - Split some `PyTypeInfo` functionality into new traits `HasPyGilRef` and `PyTypeCheck`. [#&#8203;3600](https://togithub.com/PyO3/pyo3/pull/3600) - Deprecate `PyTryFrom` and `PyTryInto` traits in favor of `any.downcast()` via the `PyTypeCheck` and `PyTypeInfo` traits. [#&#8203;3601](https://togithub.com/PyO3/pyo3/pull/3601) - Allow async methods to accept `&self`/`&mut self` [#&#8203;3609](https://togithub.com/PyO3/pyo3/pull/3609) - Values of type `bool` can now be extracted from NumPy's `bool_`. [#&#8203;3638](https://togithub.com/PyO3/pyo3/pull/3638) - Add `AsRefSource` to `PyNativeType`. [#&#8203;3653](https://togithub.com/PyO3/pyo3/pull/3653) - Changed `.is_true` to `.is_truthy` on `PyAny` and `Py<PyAny>` to clarify that the test is not based on identity with or equality to the True singleton. [#&#8203;3657](https://togithub.com/PyO3/pyo3/pull/3657) - `PyType::name` is now `PyType::qualname` whereas `PyType::name` efficiently accesses the full name which includes the module name. [#&#8203;3660](https://togithub.com/PyO3/pyo3/pull/3660) - The `Iter(A)NextOutput` types are now deprecated and `__(a)next__` can directly return anything which can be converted into Python objects, i.e. awaitables do not need to be wrapped into `IterANextOutput` or `Option` any more. `Option` can still be used as well and returning `None` will trigger the fast path for `__next__`, stopping iteration without having to raise a `StopIteration` exception. [#&#8203;3661](https://togithub.com/PyO3/pyo3/pull/3661) - Implements `FromPyObject` on `chrono::DateTime<Tz>` for all `Tz` and not only `FixedOffset` and `Utc` [#&#8203;3663](https://togithub.com/PyO3/pyo3/pull/3663) - `chrono` conversions are compatible with `abi3` [#&#8203;3664](https://togithub.com/PyO3/pyo3/pull/3664) - Add lifetime parameter to `PyTzInfoAccess` trait. For the deprecated gil-ref API, the trait is now implemented for `&'py PyTime` and `&'py PyDateTime` instead of `PyTime` and `PyDate`. [#&#8203;3679](https://togithub.com/PyO3/pyo3/pull/3679) - Calls to `__traverse__` become no-ops for unsendable pyclasses if on the wrong thread, thereby avoiding hard aborts at the cost of potential leakage. [#&#8203;3689](https://togithub.com/PyO3/pyo3/pull/3689) - Include `PyNativeType` in `pyo3::prelude`. [#&#8203;3692](https://togithub.com/PyO3/pyo3/pull/3692) - Improve performance of `extract::<i64>` (and other integer types) by avoiding call to `__index__()` converting the value to an integer for 3.10+. Gives performance improvement of around 30% for successful extraction. [#&#8203;3742](https://togithub.com/PyO3/pyo3/pull/3742) - Relax bound of `FromPyObject` for `Py<T>` to just `T: PyTypeCheck`. [#&#8203;3776](https://togithub.com/PyO3/pyo3/pull/3776) - `PySet` and `PyFrozenSet` iterators now always iterate the equivalent of `iter(set)`. (A "fast path" with no noticeable performance benefit was removed.) [#&#8203;3849](https://togithub.com/PyO3/pyo3/pull/3849) - The `#[pymodule]` macro now supports module functions that take a single argument as a `&Bound<'_, PyModule>`. [#&#8203;3905](https://togithub.com/PyO3/pyo3/pull/3905) - Move implementations of `FromPyObject` for `&str`, `Cow<str>`, `&[u8]` and `Cow<[u8]>` onto a temporary trait `FromPyObjectBound` when `gil-refs` feature is deactivated. [#&#8203;3928](https://togithub.com/PyO3/pyo3/pull/3928) ##### Removed - Remove all functionality deprecated in PyO3 0.19. [#&#8203;3603](https://togithub.com/PyO3/pyo3/pull/3603) - Remove `PyCode` and `PyCode_Type` on PyPy: `PyCode_Type` is not exposed by PyPy. [#&#8203;3934](https://togithub.com/PyO3/pyo3/pull/3934) ##### Fixed - Match PyPy 7.3.14 in removing PyPy-only symbol `Py_MAX_NDIMS` in favour of `PyBUF_MAX_NDIM`. [#&#8203;3757](https://togithub.com/PyO3/pyo3/pull/3757) - Fix segmentation fault using `datetime` types when an invalid `datetime` module is on sys.path. [#&#8203;3818](https://togithub.com/PyO3/pyo3/pull/3818) - Fix `non_local_definitions` lint warning triggered by many PyO3 macros. [#&#8203;3901](https://togithub.com/PyO3/pyo3/pull/3901) ### [`v0.20.3`](https://togithub.com/pyo3/pyo3/blob/HEAD/CHANGELOG.md#0203---2024-02-23) [Compare Source](https://togithub.com/pyo3/pyo3/compare/v0.20.2...v0.20.3) ##### Packaging - Add `portable-atomic` dependency. [#&#8203;3619](https://togithub.com/PyO3/pyo3/pull/3619) - Check maximum version of Python at build time and for versions not yet supported require opt-in to the `abi3` stable ABI by the environment variable `PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1`. [#&#8203;3821](https://togithub.com/PyO3/pyo3/pull/3821) ##### Fixed - Use `portable-atomic` to support platforms without 64-bit atomics. [#&#8203;3619](https://togithub.com/PyO3/pyo3/pull/3619) - Fix compilation failure with `either` feature enabled without `experimental-inspect` enabled. [#&#8203;3834](https://togithub.com/PyO3/pyo3/pull/3834) ### [`v0.20.2`](https://togithub.com/pyo3/pyo3/blob/HEAD/CHANGELOG.md#0202---2024-01-04) [Compare Source](https://togithub.com/pyo3/pyo3/compare/v0.20.1...v0.20.2) ##### Packaging - Pin `pyo3` and `pyo3-ffi` dependencies on `pyo3-build-config` to require the same patch version, i.e. `pyo3` 0.20.2 requires *exactly* `pyo3-build-config` 0.20.2. [#&#8203;3721](https://togithub.com/PyO3/pyo3/pull/3721) ##### Fixed - Fix compile failure when building `pyo3` 0.20.0 with latest `pyo3-build-config` 0.20.X. [#&#8203;3724](https://togithub.com/PyO3/pyo3/pull/3724) - Fix docs.rs build. [#&#8203;3722](https://togithub.com/PyO3/pyo3/pull/3722) ### [`v0.20.1`](https://togithub.com/pyo3/pyo3/blob/HEAD/CHANGELOG.md#0201---2023-12-30) [Compare Source](https://togithub.com/pyo3/pyo3/compare/v0.20.0...v0.20.1) ##### Added - Add optional `either` feature to add conversions for `either::Either<L, R>` sum type. [#&#8203;3456](https://togithub.com/PyO3/pyo3/pull/3456) - Add optional `smallvec` feature to add conversions for `smallvec::SmallVec`. [#&#8203;3507](https://togithub.com/PyO3/pyo3/pull/3507) - Add `take` and `into_inner` methods to `GILOnceCell` [#&#8203;3556](https://togithub.com/PyO3/pyo3/pull/3556) - `#[classmethod]` methods can now also receive `Py<PyType>` as their first argument. [#&#8203;3587](https://togithub.com/PyO3/pyo3/pull/3587) - `#[pyfunction(pass_module)]` can now also receive `Py<PyModule>` as their first argument. [#&#8203;3587](https://togithub.com/PyO3/pyo3/pull/3587) - Add `traverse` method to `GILProtected`. [#&#8203;3616](https://togithub.com/PyO3/pyo3/pull/3616) - Added `abi3-py312` feature [#&#8203;3687](https://togithub.com/PyO3/pyo3/pull/3687) ##### Fixed - Fix minimum version specification for optional `chrono` dependency. [#&#8203;3512](https://togithub.com/PyO3/pyo3/pull/3512) - Silenced new `clippy::unnecessary_fallible_conversions` warning when using a `Py<Self>` `self` receiver. [#&#8203;3564](https://togithub.com/PyO3/pyo3/pull/3564) ### [`v0.20.0`](https://togithub.com/pyo3/pyo3/blob/HEAD/CHANGELOG.md#0200---2023-10-11) [Compare Source](https://togithub.com/pyo3/pyo3/compare/v0.19.2...v0.20.0) ##### Packaging - Dual-license PyO3 under either the Apache 2.0 OR the MIT license. This makes the project GPLv2 compatible. [#&#8203;3108](https://togithub.com/PyO3/pyo3/pull/3108) - Update MSRV to Rust 1.56. [#&#8203;3208](https://togithub.com/PyO3/pyo3/pull/3208) - Bump `indoc` dependency to 2.0 and `unindent` dependency to 0.2. [#&#8203;3237](https://togithub.com/PyO3/pyo3/pull/3237) - Bump `syn` dependency to 2.0. [#&#8203;3239](https://togithub.com/PyO3/pyo3/pull/3239) - Drop support for debug builds of Python 3.7. [#&#8203;3387](https://togithub.com/PyO3/pyo3/pull/3387) - Bump `chrono` optional dependency to require 0.4.25 or newer. [#&#8203;3427](https://togithub.com/PyO3/pyo3/pull/3427) - Support Python 3.12. [#&#8203;3488](https://togithub.com/PyO3/pyo3/pull/3488) ##### Added - Support `__lt__`, `__le__`, `__eq__`, `__ne__`, `__gt__` and `__ge__` in `#[pymethods]`. [#&#8203;3203](https://togithub.com/PyO3/pyo3/pull/3203) - Add FFI definition `Py_GETENV`. [#&#8203;3336](https://togithub.com/PyO3/pyo3/pull/3336) - Add `as_ptr` and `into_ptr` inherent methods for `Py`, `PyAny`, `PyRef`, and `PyRefMut`. [#&#8203;3359](https://togithub.com/PyO3/pyo3/pull/3359) - Implement `DoubleEndedIterator` for `PyTupleIterator` and `PyListIterator`. [#&#8203;3366](https://togithub.com/PyO3/pyo3/pull/3366) - Add `#[pyclass(rename_all = "...")]` option: this allows renaming all getters and setters of a struct, or all variants of an enum. Available renaming rules are: `"camelCase"`, `"kebab-case"`, `"lowercase"`, `"PascalCase"`, `"SCREAMING-KEBAB-CASE"`, `"SCREAMING_SNAKE_CASE"`, `"snake_case"`, `"UPPERCASE"`. [#&#8203;3384](https://togithub.com/PyO3/pyo3/pull/3384) - Add FFI definitions `PyObject_GC_IsTracked` and `PyObject_GC_IsFinalized` on Python 3.9 and up (PyPy 3.10 and up). [#&#8203;3403](https://togithub.com/PyO3/pyo3/pull/3403) - Add types for `None`, `Ellipsis`, and `NotImplemented`. [#&#8203;3408](https://togithub.com/PyO3/pyo3/pull/3408) - Add FFI definitions for the `Py_mod_multiple_interpreters` constant and its possible values. [#&#8203;3494](https://togithub.com/PyO3/pyo3/pull/3494) - Add FFI definitions for `PyInterpreterConfig` struct, its constants and `Py_NewInterpreterFromConfig`. [#&#8203;3502](https://togithub.com/PyO3/pyo3/pull/3502) ##### Changed - Change `PySet::discard` to return `PyResult<bool>` (previously returned nothing). [#&#8203;3281](https://togithub.com/PyO3/pyo3/pull/3281) - Optimize implmentation of `IntoPy` for Rust tuples to Python tuples. [#&#8203;3321](https://togithub.com/PyO3/pyo3/pull/3321) - Change `PyDict::get_item` to no longer suppress arbitrary exceptions (the return type is now `PyResult<Option<&PyAny>>` instead of `Option<&PyAny>`), and deprecate `PyDict::get_item_with_error`. [#&#8203;3330](https://togithub.com/PyO3/pyo3/pull/3330) - Deprecate FFI definitions which are deprecated in Python 3.12. [#&#8203;3336](https://togithub.com/PyO3/pyo3/pull/3336) - `AsPyPointer` is now an `unsafe trait`. [#&#8203;3358](https://togithub.com/PyO3/pyo3/pull/3358) - Accept all `os.PathLike` values in implementation of `FromPyObject` for `PathBuf`. [#&#8203;3374](https://togithub.com/PyO3/pyo3/pull/3374) - Add `__builtins__` to globals in `py.run()` and `py.eval()` if they're missing. [#&#8203;3378](https://togithub.com/PyO3/pyo3/pull/3378) - Optimize implementation of `FromPyObject` for `BigInt` and `BigUint`. [#&#8203;3379](https://togithub.com/PyO3/pyo3/pull/3379) - `PyIterator::from_object` and `PyByteArray::from` now take a single argument of type `&PyAny` (previously took two arguments `Python` and `AsPyPointer`). [#&#8203;3389](https://togithub.com/PyO3/pyo3/pull/3389) - Replace `AsPyPointer` with `AsRef<PyAny>` as a bound in the blanket implementation of `From<&T> for PyObject`. [#&#8203;3391](https://togithub.com/PyO3/pyo3/pull/3391) - Replace blanket `impl IntoPy<PyObject> for &T where T: AsPyPointer` with implementations of `impl IntoPy<PyObject>` for `&PyAny`, `&T where T: AsRef<PyAny>`, and `&Py<T>`. [#&#8203;3393](https://togithub.com/PyO3/pyo3/pull/3393) - Preserve `std::io::Error` kind in implementation of `From<std::io::IntoInnerError>` for `PyErr` [#&#8203;3396](https://togithub.com/PyO3/pyo3/pull/3396) - Try to select a relevant `ErrorKind` in implementation of `From<PyErr>` for `OSError` subclass. [#&#8203;3397](https://togithub.com/PyO3/pyo3/pull/3397) - Retrieve the original `PyErr` in implementation of `From<std::io::Error>` for `PyErr` if the `std::io::Error` has been built using a Python exception (previously would create a new exception wrapping the `std::io::Error`). [#&#8203;3402](https://togithub.com/PyO3/pyo3/pull/3402) - `#[pymodule]` will now return the same module object on repeated import by the same Python interpreter, on Python 3.9 and up. [#&#8203;3446](https://togithub.com/PyO3/pyo3/pull/3446) - Truncate leap-seconds and warn when converting `chrono` types to Python `datetime` types (`datetime` cannot represent leap-seconds). [#&#8203;3458](https://togithub.com/PyO3/pyo3/pull/3458) - `Err` returned from `#[pyfunction]` will now have a non-None `__context__` if called from inside a `catch` block. [#&#8203;3455](https://togithub.com/PyO3/pyo3/pull/3455) - Deprecate undocumented `#[__new__]` form of `#[new]` attribute. [#&#8203;3505](https://togithub.com/PyO3/pyo3/pull/3505) ##### Removed - Remove all functionality deprecated in PyO3 0.18, including `#[args]` attribute for `#[pymethods]`. [#&#8203;3232](https://togithub.com/PyO3/pyo3/pull/3232) - Remove `IntoPyPointer` trait in favour of `into_ptr` inherent methods. [#&#8203;3385](https://togithub.com/PyO3/pyo3/pull/3385) ##### Fixed - Handle exceptions properly in `PySet::discard`. [#&#8203;3281](https://togithub.com/PyO3/pyo3/pull/3281) - The `PyTupleIterator` type returned by `PyTuple::iter` is now public and hence can be named by downstream crates. [#&#8203;3366](https://togithub.com/PyO3/pyo3/pull/3366) - Linking of `PyOS_FSPath` on PyPy. [#&#8203;3374](https://togithub.com/PyO3/pyo3/pull/3374) - Fix memory leak in `PyTypeBuilder::build`. [#&#8203;3401](https://togithub.com/PyO3/pyo3/pull/3401) - Disable removed FFI definitions `_Py_GetAllocatedBlocks`, `_PyObject_GC_Malloc`, and `_PyObject_GC_Calloc` on Python 3.11 and up. [#&#8203;3403](https://togithub.com/PyO3/pyo3/pull/3403) - Fix `ResourceWarning` and crashes related to GC when running with debug builds of CPython. [#&#8203;3404](https://togithub.com/PyO3/pyo3/pull/3404) - Some-wrapping of `Option<T>` default arguments will no longer re-wrap `Some(T)` or expressions evaluating to `None`. [#&#8203;3461](https://togithub.com/PyO3/pyo3/pull/3461) - Fix `IterNextOutput::Return` not returning a value on PyPy. [#&#8203;3471](https://togithub.com/PyO3/pyo3/pull/3471) - Emit compile errors instead of ignoring macro invocations inside `#[pymethods]` blocks. [#&#8203;3491](https://togithub.com/PyO3/pyo3/pull/3491) - Emit error on invalid arguments to `#[new]`, `#[classmethod]`, `#[staticmethod]`, and `#[classattr]`. [#&#8203;3484](https://togithub.com/PyO3/pyo3/pull/3484) - Disable `PyMarshal_WriteObjectToString` from `PyMarshal_ReadObjectFromString` with the `abi3` feature. [#&#8203;3490](https://togithub.com/PyO3/pyo3/pull/3490) - Fix FFI definitions for `_PyFrameEvalFunction` on Python 3.11 and up (it now receives a `_PyInterpreterFrame` opaque struct). [#&#8203;3500](https://togithub.com/PyO3/pyo3/pull/3500) ### [`v0.19.2`](https://togithub.com/pyo3/pyo3/blob/HEAD/CHANGELOG.md#0192---2023-08-01) [Compare Source](https://togithub.com/pyo3/pyo3/compare/v0.19.1...v0.19.2) ##### Added - Add FFI definitions `PyState_AddModule`, `PyState_RemoveModule` and `PyState_FindModule` for PyPy 3.9 and up. [#&#8203;3295](https://togithub.com/PyO3/pyo3/pull/3295) - Add FFI definitions `_PyObject_CallFunction_SizeT` and `_PyObject_CallMethod_SizeT`. [#&#8203;3297](https://togithub.com/PyO3/pyo3/pull/3297) - Add a "performance" section to the guide collecting performance-related tricks and problems. [#&#8203;3304](https://togithub.com/PyO3/pyo3/pull/3304) - Add `PyErr::Display` for all Python versions, and FFI symbol `PyErr_DisplayException` for Python 3.12. [#&#8203;3334](https://togithub.com/PyO3/pyo3/pull/3334) - Add FFI definition `PyType_GetDict()` for Python 3.12. [#&#8203;3339](https://togithub.com/PyO3/pyo3/pull/3339) - Add `PyAny::downcast_exact`. [#&#8203;3346](https://togithub.com/PyO3/pyo3/pull/3346) - Add `PySlice::full()` to construct a full slice (`::`). [#&#8203;3353](https://togithub.com/PyO3/pyo3/pull/3353) ##### Changed - Update `PyErr` for 3.12 betas to avoid deprecated ffi methods. [#&#8203;3306](https://togithub.com/PyO3/pyo3/pull/3306) - Update FFI definitions of `object.h` for Python 3.12.0b4. [#&#8203;3335](https://togithub.com/PyO3/pyo3/pull/3335) - Update `pyo3::ffi` struct definitions to be compatible with 3.12.0b4. [#&#8203;3342](https://togithub.com/PyO3/pyo3/pull/3342) - Optimize conversion of `float` to `f64` (and `PyFloat::value`) on non-abi3 builds. [#&#8203;3345](https://togithub.com/PyO3/pyo3/pull/3345) ##### Fixed - Fix timezone conversion bug for FixedOffset datetimes that were being incorrectly converted to and from UTC. [#&#8203;3269](https://togithub.com/PyO3/pyo3/pull/3269) - Fix `SystemError` raised in `PyUnicodeDecodeError_Create` on PyPy 3.10. [#&#8203;3297](https://togithub.com/PyO3/pyo3/pull/3297) - Correct FFI definition `Py_EnterRecursiveCall` to return `c_int` (was incorrectly returning `()`). [#&#8203;3300](https://togithub.com/PyO3/pyo3/pull/3300) - Fix case where `PyErr::matches` and `PyErr::is_instance` returned results inconsistent with `PyErr::get_type`. [#&#8203;3313](https://togithub.com/PyO3/pyo3/pull/3313) - Fix loss of panic message in `PanicException` when unwinding after the exception was "normalized". [#&#8203;3326](https://togithub.com/PyO3/pyo3/pull/3326) - Fix `PyErr::from_value` and `PyErr::into_value` losing traceback on conversion. [#&#8203;3328](https://togithub.com/PyO3/pyo3/pull/3328) - Fix reference counting of immortal objects on Python 3.12.0b4. [#&#8203;3335](https://togithub.com/PyO3/pyo3/pull/3335) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on the first day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/get-convex/convex). GitOrigin-RevId: cf0c6fb0662146f3df78351ab56cb89b70890686
1 parent e431e8e commit 3b2b10a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,9 @@ proptest-derive = "0.4.0"
8383
proptest-http = { git = "https://github.com/sujayakar/proptest-http", rev = "12ef4c4ac2002b050ab0944a9587d83d7ea9fce2" }
8484
prost = "0.12"
8585
prost-types = "0.12"
86-
pyo3 = "0.19.1"
87-
pyo3-asyncio = { version = "0.19.0", features = [ "tokio-runtime" ] }
86+
pyo3 = "0.20.3"
87+
pyo3-asyncio = { version = "0.20.0", features = [ "tokio-runtime" ] }
88+
pyo3-build-config = { version = "0.20.3", features = [ "resolve-config" ] }
8889
qdrant_segment = { git = "https://github.com/get-convex/qdrant", rev = "76482c6e62dd37c2bcb30a298e6538678df1bd27", package = "segment" }
8990
quote = "1.0"
9091
rand = "0.8"

0 commit comments

Comments
 (0)