dependabot[bot] opened a new pull request, #623: URL: https://github.com/apache/sedona-db/pull/623
Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.25.1 to 0.28.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pyo3/pyo3/releases">pyo3's releases</a>.</em></p> <blockquote> <h2>PyO3 0.28.1</h2> <p>This patch contains a number of minor compile-time fixes for PyO3 0.28.0.</p> <p>Thank you to the following contributors for the improvements:</p> <p><a href="https://github.com/davidhewitt"><code>@davidhewitt</code></a> <a href="https://github.com/funsafemath"><code>@funsafemath</code></a> <a href="https://github.com/ngoldbaum"><code>@ngoldbaum</code></a> <a href="https://github.com/rara64"><code>@rara64</code></a> <a href="https://github.com/tdyas"><code>@tdyas</code></a></p> <h2>PyO3 0.28.0</h2> <p>This release contains many improvements across PyO3's feature set:</p> <ul> <li>Proper support for <code>__init__</code> methods for <code>#[pyclass]</code> types</li> <li>Support for <code>#[deleter]</code>s to complement the existing <code>#[getter]</code> and <code>#[setter]</code> attributes when implementing class "properties".</li> <li>Support for subclassing many Python types with the <code>abi3</code> feature (requires Python 3.12+).</li> <li>A new <code>#[pyclass(new = "from_fields")]</code> option to automatically define the constructor from the class fields.</li> <li>Many corrections to FFI definitions (including removal of many private CPython methods)</li> <li>Many improvements to the <code>experimental-inspect</code> feature's functionality.</li> </ul> <p>The minimum supported Rust version has been increased to Rust 1.83.</p> <p>This release also switches <code>#[pymodule]</code> to use PEP 489 multi-phase initialization internally. This should have no immediate functional impact other than preparing PyO3 to support newer technologies such as Python subinterpreters.</p> <p>There are also many other incremental improvements, bug fixes and smaller features; full detail can be found in the <a href="https://pyo3.rs/v0.28.0/changelog.html">CHANGELOG</a>.</p> <p>Please consult the <a href="https://pyo3.rs/v0.28.0/migration.html">migration guide</a> for help upgrading.</p> <p>Thank you to everyone who contributed code, documentation, design ideas, bug reports, and feedback. The following contributors' commits are included in this release:</p> <p><a href="https://github.com/ABorgna"><code>@ABorgna</code></a> <a href="https://github.com/ahlinc"><code>@ahlinc</code></a> <a href="https://github.com/alex"><code>@alex</code></a> <a href="https://github.com/altendky"><code>@altendky</code></a> <a href="https://github.com/bazaah"><code>@bazaah</code></a> <a href="https://github.com/bschoenmaeckers"><code>@bschoenmaeckers</code></a> <a href="https://github.com/chirizxc"><code>@chirizxc</code></a> <a href="https://github.com/clin1234"><code>@clin1234</code></a> <a href="https://github.com/davidhewitt"><code>@davidhewitt</code></a> <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] <a href="https://github.com/freakboy3742"><code>@freakboy3742</code></a> <a href="https://github.com/henryp3278"><code>@henryp3278</code></a> <a href="https://github.com/Icxolu"><code>@Icxolu</code></a> <a href="https://github.com/lazka"><code>@lazka</code></a> <a href="https://github.com/LilyFirefly"><code>@LilyFirefly</code></a> <a href="https://github.com/linkmauve"><code>@linkmauve</code></a> <a href="https://github.com/lmmx"><code>@lmmx</code></a> <a href="https://github.com/lukaslueg"><code>@lukaslueg</code></a> <a href="https://github.com/MatthieuDartiailh"><code>@MatthieuDartiailh</code></a> <a href="https://github.com/MusicalNinjaDad"><code>@MusicalNinjaDad</code></a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md">pyo3's changelog</a>.</em></p> <blockquote> <h2>[0.28.1] - 2026-02-14</h2> <h3>Fixed</h3> <ul> <li>Fix <code>*args</code> / <code>**kwargs</code> support in<code> experimental-async</code> feature (regressed in 0.28.0). <a href="https://redirect.github.com/PyO3/pyo3/pull/5771">#5771</a></li> <li>Fix <code>clippy::declare_interior_mutable_const</code> warning inside <code>#[pyclass]</code> generated code on enums. <a href="https://redirect.github.com/PyO3/pyo3/pull/5772">#5772</a></li> <li>Fix <code>ambiguous_associated_items</code> compilation error when deriving <code>FromPyObject</code> or using <code>#[pyclass(from_py_object)]</code> macro on enums with <code>Error</code> variant. <a href="https://redirect.github.com/PyO3/pyo3/pull/5784">#5784</a></li> <li>Fix <code>__qualname__</code> for complex <code>#[pyclass]</code> enum variants to include the enum name. <a href="https://redirect.github.com/PyO3/pyo3/pull/5796">#5796</a></li> </ul> <h2>[0.28.0] - 2026-02-01</h2> <h3>Packaging</h3> <ul> <li>Bump MSRV to Rust 1.83. <a href="https://redirect.github.com/PyO3/pyo3/pull/5531">#5531</a></li> <li>Bump minimum supported <code>quote</code> version to 1.0.37. <a href="https://redirect.github.com/PyO3/pyo3/pull/5531">#5531</a></li> <li>Bump supported GraalPy version to 25.0. <a href="https://redirect.github.com/PyO3/pyo3/pull/5542">#5542</a></li> <li>Drop <code>memoffset</code> dependency. <a href="https://redirect.github.com/PyO3/pyo3/pull/5545">#5545</a></li> <li>Support for free-threaded Python is now opt-out rather than opt-in. <a href="https://redirect.github.com/PyO3/pyo3/pull/5564">#5564</a></li> <li>Bump <code>target-lexicon</code> dependency to 0.13.3. <a href="https://redirect.github.com/PyO3/pyo3/pull/5571">#5571</a></li> <li>Drop <code>indoc</code> and <code>unindent</code> dependencies. <a href="https://redirect.github.com/PyO3/pyo3/pull/5608">#5608</a></li> </ul> <h3>Added</h3> <ul> <li>Add <code>__init__</code> support in <code>#[pymethods]</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4951">#4951</a></li> <li>Expose <code>PySuper</code> on PyPy, GraalPy and ABI3 <a href="https://redirect.github.com/PyO3/pyo3/pull/4951">#4951</a></li> <li>Add <code>PyString::from_fmt</code> and <code>py_format!</code> macro. <a href="https://redirect.github.com/PyO3/pyo3/pull/5199">#5199</a></li> <li>Add <code>#[pyclass(new = "from_fields")]</code> option. <a href="https://redirect.github.com/PyO3/pyo3/pull/5421">#5421</a></li> <li>Add <code>pyo3::buffer::PyUntypedBuffer</code>, a type-erased form of <code>PyBuffer<T></code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5458">#5458</a></li> <li>Add <code>PyBytes::new_with_writer</code> <a href="https://redirect.github.com/PyO3/pyo3/pull/5517">#5517</a></li> <li>Add <code>PyClass::NAME</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5579">#5579</a></li> <li>Add <code>pyo3_build_config::add_libpython_rpath_link_args</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5624">#5624</a></li> <li>Add <code>PyBackedStr::clone_ref</code> and <code>PyBackedBytes::clone_ref</code> methods. <a href="https://redirect.github.com/PyO3/pyo3/pull/5654">#5654</a></li> <li>Add <code>PyCapsule::new_with_pointer</code> and <code>PyCapsule::new_with_pointer_and_destructor</code> for creating capsules with raw pointers. <a href="https://redirect.github.com/PyO3/pyo3/pull/5689">#5689</a></li> <li>Add <code>#[deleter]</code> attribute to implement property deleters in <code>#[methods]</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5699">#5699</a></li> <li>Add <code>IntoPyObject</code> and <code>FromPyObject</code> implementations for <code>uuid::NonNilUuid</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5707">#5707</a></li> <li>Add <code>PyBackedStr::as_str</code> and <code>PyBackedStr::as_py_str</code> methods. <a href="https://redirect.github.com/PyO3/pyo3/pull/5723">#5723</a></li> <li>Add support for subclassing native types (<code>PyDict</code>, exceptions, ...) when building for abi3 on Python 3.12+. <a href="https://redirect.github.com/PyO3/pyo3/pull/5733">#5733</a></li> <li>Add support for subclassing <code>PyList</code> when building for Python 3.12+. <a href="https://redirect.github.com/PyO3/pyo3/pull/5734">#5734</a></li> <li>FFI definitions: <ul> <li>Add FFI definitions <code>PyEval_GetFrameBuiltins</code>, <code>PyEval_GetFrameGlobals</code> and <code>PyEval_GetFrameLocals</code> on Python 3.13 and up. <a href="https://redirect.github.com/PyO3/pyo3/pull/5590">#5590</a></li> <li>Add FFI definitions <code>PyObject_New</code>, <code>PyObject_NewVar</code>, <code>PyObject_GC_Resize</code>, <code>PyObject_GC_New</code>, and <code>PyObject_GC_NewVar</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5591">#5591</a></li> <li>Added FFI definitions and an unsafe Rust API wrapping <code>Py_BEGIN_CRITICAL_SECTION_MUTEX</code> and <code>Py_BEGIN_CRITICAL_SECTION_MUTEX2</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5642">#5642</a></li> <li>Add FFI definition <code>PyDict_GetItemStringRef</code> on Python 3.13 and up. <a href="https://redirect.github.com/PyO3/pyo3/pull/5659">#5659</a></li> <li>Add FFI definition <code>PyIter_NextItem</code> on Python 3.14 and up, and <code>compat::PyIter_NextItem</code> for older versions. <a href="https://redirect.github.com/PyO3/pyo3/pull/5661">#5661</a></li> <li>Add FFI definitions <code>PyThreadState_GetInterpreter</code> and <code>PyThreadState_GetID</code> on Python 3.9+, <code>PyThreadState_EnterTracing</code> and <code>PyThreadState_LeaveTracing</code> on Python 3.11+, <code>PyThreadState_GetUnchecked</code> on Python 3.13+, and <code>compat::PyThreadState_GetUnchecked</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5711">#5711</a></li> <li>Add FFI definitions <code>PyImport_ImportModuleAttr</code> and <code>PyImport_ImportModuleAttrString</code> on Python 3.14+. <a href="https://redirect.github.com/PyO3/pyo3/pull/5737">#5737</a></li> <li>Add FFI definitions for the <code>PyABIInfo</code> and <code>PyModExport</code> APIs available in Python 3.15. <a href="https://redirect.github.com/PyO3/pyo3/pull/5746">#5746</a></li> </ul> </li> <li><code>experimental-inspect</code>: <ul> <li>Emit base classes. <a href="https://redirect.github.com/PyO3/pyo3/pull/5331">#5331</a></li> <li>Emit <code>@typing.final</code> on final classes. <a href="https://redirect.github.com/PyO3/pyo3/pull/5552">#5552</a></li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PyO3/pyo3/commit/45f49ff9f50538c5bc2ea2c5045ee58f7270bfad"><code>45f49ff</code></a> release: 0.28.1</li> <li><a href="https://github.com/PyO3/pyo3/commit/56c34d630b8c133b3298ccae601dff2f6d5a9798"><code>56c34d6</code></a> Document Py_GIL_DISABLED in pyo3-build-config docs (<a href="https://redirect.github.com/pyo3/pyo3/issues/5810">#5810</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/92bc9efd51f70d72d71223b2d661b7d9cc074ef6"><code>92bc9ef</code></a> Avoid unused variable warning with a debug Python build (<a href="https://redirect.github.com/pyo3/pyo3/issues/5811">#5811</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/ca5df1a72d745c27327cddd3726aebda88556614"><code>ca5df1a</code></a> ci: re-enable <code>list_get_item_unchecked</code> benchmark on free-threaded build (<a href="https://redirect.github.com/pyo3/pyo3/issues/5812">#5812</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/413d9b5b0130dd636d250be03d807b6091beab5e"><code>413d9b5</code></a> Fix missing <code>std::sync::atomic::Ordering</code> import for targets without atomic64...</li> <li><a href="https://github.com/PyO3/pyo3/commit/1c764cdc377d41f7117524fd9ecb311a81a2029c"><code>1c764cd</code></a> docs: improve messaging around <code>#[pyclass(from_py_object)]</code> change (<a href="https://redirect.github.com/pyo3/pyo3/issues/5798">#5798</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/927411acb05ac00d9384165b01f7e1906ebbc0f1"><code>927411a</code></a> fix <code>__qualname__</code> for complex enum variants (<a href="https://redirect.github.com/pyo3/pyo3/issues/5796">#5796</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/233434416d96a0d35aba76c479a6a06d23c26c82"><code>2334344</code></a> Fix ambiguous associated item error (<a href="https://redirect.github.com/pyo3/pyo3/issues/5784">#5784</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/3f5dba98add9394bfb4e28a9e549604375e85e5a"><code>3f5dba9</code></a> two before sections, one is after (<a href="https://redirect.github.com/pyo3/pyo3/issues/5775">#5775</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/2b153661c3dd9687f62c4f8ca88af1aaaa24ac6d"><code>2b15366</code></a> use inline const expression initializing enum singletons (<a href="https://redirect.github.com/pyo3/pyo3/issues/5772">#5772</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pyo3/pyo3/compare/v0.25.1...v0.28.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
