dependabot[bot] opened a new pull request, #1129: URL: https://github.com/apache/datafusion-python/pull/1129
Bumps [pyo3-build-config](https://github.com/pyo3/pyo3) from 0.24.1 to 0.25.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pyo3/pyo3/releases">pyo3-build-config's releases</a>.</em></p> <blockquote> <h2>PyO3 0.25.0</h2> <p>This version extends Python version support to include the new Python 3.14, currently in beta. Please note it is possible that there may yet be changes to 3.14 before stable release which may impact final compatibility.</p> <p>New optional dependencies on <code>bigdecimal</code>, <code>ordered_float</code>, and <code>time</code> have been added to permit converting types from those crates to Python types (and vice versa).</p> <p>The <code>experimental-inspect</code> feature now has the capability to autogenerate type stubs. These stubs are still extremely basic and lack much information. Tooling such as <code>setuptools-rust</code> and <code>maturin</code> will also need to be updated to make adoption of these easier. Please follow <a href="https://redirect.github.com/PyO3/pyo3/issues/5137">PyO3/pyo3#5137</a> to keep abreast of developments of this feature.</p> <p>The <code>#[pyclass]</code> macro has gained new options <code>#[pyclass(generic)]</code> and <code>#[pyclass(immutable_type)]</code> to offer additional control over the runtime behaviour of the generated Python type object.</p> <p>The <code>AsPyPointer</code> trait has been removed as PyO3's smart pointer types such as <code>Py<T></code>, <code>Bound<T></code> and <code>Borrowed<T></code> covered this use case with a better API.</p> <p>As part of the upgrade to support 3.14, there have also been many cleanups to <code>pyo3-ffi</code>. Many definitions which are private implementation details of CPython have been removed; projects downstream of CPython cannot rely on stability of these even across CPython patch releases.</p> <p>There are also many other incremental improvements, bug fixes and smaller features.</p> <p>Please consult the <a href="https://pyo3.rs/v0.25.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/0x676e67"><code>@0x676e67</code></a> <a href="https://github.com/bschoenmaeckers"><code>@bschoenmaeckers</code></a> <a href="https://github.com/clin1234"><code>@clin1234</code></a> <a href="https://github.com/davidbrochart"><code>@davidbrochart</code></a> <a href="https://github.com/davidhewitt"><code>@davidhewitt</code></a> <a href="https://github.com/ddelange"><code>@ddelange</code></a> <a href="https://github.com/decathorpe"><code>@decathorpe</code></a> <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] <a href="https://github.com/exg"><code>@exg</code></a> <a href="https://github.com/hgmich"><code>@hgmich</code></a> <a href="https://github.com/Icxolu"><code>@Icxolu</code></a> <a href="https://github.com/IvanIsCoding"><code>@IvanIsCoding</code></a> <a href="https://github.com/m-ou-se"><code>@m-ou-se</code></a> <a href="https://github.com/n-eq"><code>@n-eq</code></a> <a href="https://github.com/ngoldbaum"><code>@ngoldbaum</code></a> <a href="https://github.com/Owen-CH-Leung"><code>@Owen-CH-Leung</code></a> <a href="https://github.com/prutschman-iv"><code>@prutschman-iv</code></a> <a href="https://github.com/superserious-dev"><code>@superserious-dev</code></a> <a href="https://github.com/Tpt"><code>@Tpt</code></a> <a href="https://github.com/trim21"><code>@trim21</code></a> <a href="https://github.com/Vrajs16"><code>@Vrajs16</code></a> <a href="https://github.com/xhochy"><code>@xhochy</code></a></p> <h2>PyO3 0.24.2</h2> <p>This is a small patch release containing minor bugfixes and documentation improvements, including an unused imports lint warning raised from inside PyO3's proc macros.</p> <p>Thank you to the following contributors for the improvements:</p> <p><a href="https://github.com/davidbrochart"><code>@davidbrochart</code></a> <a href="https://github.com/davidhewitt"><code>@davidhewitt</code></a> <a href="https://github.com/ddelange"><code>@ddelange</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-build-config's changelog</a>.</em></p> <blockquote> <h2>[0.25.0] - 2025-05-14</h2> <h3>Packaging</h3> <ul> <li>Support Python 3.14.0b1. <a href="https://redirect.github.com/PyO3/pyo3/pull/4811">#4811</a></li> <li>Bump supported GraalPy version to 24.2. <a href="https://redirect.github.com/PyO3/pyo3/pull/5116">#5116</a></li> <li>Add optional <code>bigdecimal</code> dependency to add conversions for <code>bigdecimal::BigDecimal</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5011">#5011</a></li> <li>Add optional <code>time</code> dependency to add conversions for <code>time</code> types. <a href="https://redirect.github.com/PyO3/pyo3/pull/5057">#5057</a></li> <li>Remove <code>cfg-if</code> dependency. <a href="https://redirect.github.com/PyO3/pyo3/pull/5110">#5110</a></li> <li>Add optional <code>ordered_float</code> dependency to add conversions for <code>ordered_float::NotNan</code> and <code>ordered_float::OrderedFloat</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5114">#5114</a></li> </ul> <h3>Added</h3> <ul> <li>Add initial type stub generation to the <code>experimental-inspect</code> feature. <a href="https://redirect.github.com/PyO3/pyo3/pull/3977">#3977</a></li> <li>Add <code>#[pyclass(generic)]</code> option to support runtime generic typing. <a href="https://redirect.github.com/PyO3/pyo3/pull/4926">#4926</a></li> <li>Implement <code>OnceExt</code> & <code>MutexExt</code> for <code>parking_lot</code> & <code>lock_api</code>. Use the new extension traits by enabling the <code>arc_lock</code>, <code>lock_api</code>, or <code>parking_lot</code> cargo features. <a href="https://redirect.github.com/PyO3/pyo3/pull/5044">#5044</a></li> <li>Implement <code>From</code>/<code>Into</code> for <code>Borrowed<T></code> -> <code>Py<T></code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5054">#5054</a></li> <li>Add <code>PyTzInfo</code> constructors. <a href="https://redirect.github.com/PyO3/pyo3/pull/5055">#5055</a></li> <li>Add FFI definition <code>PY_INVALID_STACK_EFFECT</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5064">#5064</a></li> <li>Implement <code>AsRef<Py<PyAny>></code> for <code>Py<T></code>, <code>Bound<T></code> and <code>Borrowed<T></code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5071">#5071</a></li> <li>Add FFI definition <code>PyModule_Add</code> and <code>compat::PyModule_Add</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5085">#5085</a></li> <li>Add FFI definitions <code>Py_HashBuffer</code>, <code>Py_HashPointer</code>, and <code>PyObject_GenericHash</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5086">#5086</a></li> <li>Support <code>#[pymodule_export]</code> on <code>const</code> items in declarative modules. <a href="https://redirect.github.com/PyO3/pyo3/pull/5096">#5096</a></li> <li>Add <code>#[pyclass(immutable_type)]</code> option (on Python 3.14+ with <code>abi3</code>, or 3.10+ otherwise) for immutable type objects. <a href="https://redirect.github.com/PyO3/pyo3/pull/5101">#5101</a></li> <li>Support <code>#[pyo3(rename_all)]</code> support on <code>#[derive(IntoPyObject)]</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5112">#5112</a></li> <li>Add <code>PyRange</code> wrapper. <a href="https://redirect.github.com/PyO3/pyo3/pull/5117">#5117</a></li> </ul> <h3>Changed</h3> <ul> <li>Enable use of <code>datetime</code> types with <code>abi3</code> feature enabled. <a href="https://redirect.github.com/PyO3/pyo3/pull/4970">#4970</a></li> <li>Deprecate <code>timezone_utc</code> in favor of <code>PyTzInfo::utc</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5055">#5055</a></li> <li>Reduce visibility of some CPython implementation details: <a href="https://redirect.github.com/PyO3/pyo3/pull/5064">#5064</a> <ul> <li>The FFI definition <code>PyCodeObject</code> is now an opaque struct on all Python versions.</li> <li>The FFI definition <code>PyFutureFeatures</code> is now only defined up until Python 3.10 (it was present in CPython headers but unused in 3.11 and 3.12).</li> </ul> </li> <li>Change <code>PyAnyMethods::is</code> to take <code>other: &Bound<T></code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5071">#5071</a></li> <li>Change <code>Py::is</code> to take <code>other: &Py<T></code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5071">#5071</a></li> <li>Change <code>PyVisit::call</code> to take <code>T: Into<Option<&Py<T>>></code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5071">#5071</a></li> <li>Expose <code>PyDateTime_DATE_GET_TZINFO</code> and <code>PyDateTime_TIME_GET_TZINFO</code> on PyPy 3.10 and later. <a href="https://redirect.github.com/PyO3/pyo3/pull/5079">#5079</a></li> <li>Add <code>#[track_caller]</code> to <code>with_gil</code> and <code>with_gil_unchecked</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5109">#5109</a></li> <li>Use <code>std::thread::park()</code> instead of <code>libc::pause()</code> or <code>sleep(9999999)</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5115">#5115</a></li> </ul> <h3>Removed</h3> <ul> <li>Remove all functionality deprecated in PyO3 0.23. <a href="https://redirect.github.com/PyO3/pyo3/pull/4982">#4982</a></li> <li>Remove deprecated <code>IntoPy</code> and <code>ToPyObject</code> traits. <a href="https://redirect.github.com/PyO3/pyo3/pull/5010">#5010</a></li> <li>Remove private types from <code>pyo3-ffi</code> (i.e. starting with <code>_Py</code>) which are not referenced by public APIs: <code>_PyLocalMonitors</code>, <code>_Py_GlobalMonitors</code>, <code>_PyCoCached</code>, <code>_PyCoLineInstrumentationData</code>, <code>_PyCoMonitoringData</code>, <code>_PyCompilerSrcLocation</code>, <code>_PyErr_StackItem</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5064">#5064</a></li> <li>Remove FFI definition <code>PyCode_GetNumFree</code> (PyO3 cannot support it due to knowledge of the code object). <a href="https://redirect.github.com/PyO3/pyo3/pull/5064">#5064</a></li> <li>Remove <code>AsPyPointer</code> trait. <a href="https://redirect.github.com/PyO3/pyo3/pull/5071">#5071</a></li> <li>Remove support for the deprecated string form of <code>from_py_with</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5097">#5097</a></li> <li>Remove FFI definitions of private static variables: <code>_PyMethodWrapper_Type</code>, <code>_PyCoroWrapper_Type</code>, <code>_PyImport_FrozenBootstrap</code>, <code>_PyImport_FrozenStdlib</code>, <code>_PyImport_FrozenTest</code>, <code>_PyManagedBuffer_Type</code>, <code>_PySet_Dummy</code>, <code>_PyWeakref_ProxyType</code>, and <code>_PyWeakref_CallableProxyType</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5105">#5105</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PyO3/pyo3/commit/ec1a350afee0d9cb5a1bacd963e207ed9c84cb0f"><code>ec1a350</code></a> release: 0.25.0 (<a href="https://redirect.github.com/pyo3/pyo3/issues/5128">#5128</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/c4efb16f434f6a3ceb23304d8c2fac84822605c0"><code>c4efb16</code></a> ci: reduce verbosity & install zoneinfo backport on <3.9 (<a href="https://redirect.github.com/pyo3/pyo3/issues/5136">#5136</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/b61dc7fb0f7b6eef5d61289f77990cbd42649d02"><code>b61dc7f</code></a> add <code>rename_all</code> support for <code>#[derive(IntoPyObject)]</code> (<a href="https://redirect.github.com/pyo3/pyo3/issues/5112">#5112</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/d74fadc9f400d6e9ba35002784b0c5a0dd89c967"><code>d74fadc</code></a> Implement <code>OnceExt</code> & <code>MutexExt</code> for <code>parking_lot</code> & <code>lock_api</code> (<a href="https://redirect.github.com/pyo3/pyo3/issues/5044">#5044</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/f87b286e5eb6ab5ea2aef2bdd4022d074c8af6c2"><code>f87b286</code></a> Don't expose PyASCIIObjectState on Python3.14 and newer (<a href="https://redirect.github.com/pyo3/pyo3/issues/5133">#5133</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/b36849a1f5d5b8482c74565366ffb117a9edc0f1"><code>b36849a</code></a> more format args inlining (<a href="https://redirect.github.com/pyo3/pyo3/issues/5135">#5135</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/5807d8056561ffebdd8d6f9833723ccb44bb3bcb"><code>5807d80</code></a> Add <code>#[pyclass(generic)]</code> (<a href="https://redirect.github.com/pyo3/pyo3/issues/4926">#4926</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/283ba3fbf0ce0634dbac480e6832d532279b08f0"><code>283ba3f</code></a> Fix clippy errors (<a href="https://redirect.github.com/pyo3/pyo3/issues/5134">#5134</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/3a39844964abc08fcef50dccac4ac4964e008ffe"><code>3a39844</code></a> Add <code>PyRange</code> wrapper (<a href="https://redirect.github.com/pyo3/pyo3/issues/5117">#5117</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/e613a79cad83b909624755c21b98dee4fe70ed39"><code>e613a79</code></a> Implement optional feature <code>ordered-float</code> for NotNan/OrderedFloat <-> Python...</li> <li>Additional commits viewable in <a href="https://github.com/pyo3/pyo3/compare/v0.24.1...v0.25.0">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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org