dependabot[bot] opened a new pull request, #1067: URL: https://github.com/apache/datafusion-python/pull/1067
Bumps [pyo3-build-config](https://github.com/pyo3/pyo3) from 0.23.4 to 0.24.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.24.0</h2> <p>This release is an incremental improvement of refinements and optimizations following the new APIs established in PyO3's last few releases.</p> <p>Support for <code>jiff</code> datetime conversions have been added, and also UUID conversions.</p> <p>The <code>FromPyObject</code> derive macro has gained new <code>#[pyo3(default = ...)]</code> and <code>#[pyo3(rename_all = ...)]</code> options, and the <code>IntoPyObject</code> derive macro has gained a new <code>#[pyo3(into_py_with = ...)]</code> option.</p> <p>PyO3 will now pass positional arguments to Python functions using the "vectorcall" protocol in many cases, which should be an optimization over the previous behaviour (of creating a Python tuple of positional arguments).</p> <p>Many methods on iterators of Python collections have been optimized.</p> <p>There are also many other incremental improvements, bug fixes and smaller features.</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/alex"><code>@alex</code></a> <a href="https://github.com/arielb1"><code>@arielb1</code></a> <a href="https://github.com/bschoenmaeckers"><code>@bschoenmaeckers</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/eltociear"><code>@eltociear</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/JeanArhancet"><code>@JeanArhancet</code></a> <a href="https://github.com/kahojyun"><code>@kahojyun</code></a> <a href="https://github.com/kemingy"><code>@kemingy</code></a> <a href="https://github.com/kylebarron"><code>@kylebarron</code></a> <a href="https://github.com/LifeLex"><code>@LifeLex</code></a> <a href="https://github.com/LilyFoote"><code>@LilyFoote</code></a> <a href="https://github.com/lundybernard"><code>@lundybernard</code></a> <a href="https://github.com/matt-codecov"><code>@matt-codecov</code></a> <a href="https://github.com/mattip"><code>@mattip</code></a> <a href="https://github.com/mejrs"><code>@mejrs</code></a> <a href="https://github.com/messense"><code>@messense</code></a> <a href="https://github.com/msimacek"><code>@msimacek</code></a> <a href="https://github.com/ngoldbaum"><code>@ngoldbaum</code></a> <a href="https://github.com/nicolasavru"><code>@nicolasavru</code></a> <a href="https://github.com/Owen-CH-Leung"><code>@Owen-CH-Leung</code></a> <a href="https://github.com/peterjoel"><code>@peterjoel</code></a> <a href="https://github.com/SilverBzH"><code>@SilverBzH</code></a> <a href="https://github.com/Tpt"><code>@Tpt</code></a> <a href="https://github.com/yoav-orca"><code>@yoav-orca</code></a> <a href="https://github.com/yotamofek"><code>@yotamofek</code></a></p> <h2>PyO3 0.23.5</h2> <p>This release is a final set of backports onto the PyO3 0.23 series:</p> <ul> <li>PyPy 3.11 support</li> <li>Fixes to <code>#[pyclass(freelist)]</code> on free-threaded Python 3.13</li> <li>Fix to <code>Python::run</code> for a case when <code>__builtins__</code> is not loaded correctly on Python 3.10+</li> </ul> <!-- 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.24.0] - 2025-03-09</h2> <h3>Packaging</h3> <ul> <li>Add supported CPython/PyPy versions to cargo package metadata. <a href="https://redirect.github.com/PyO3/pyo3/pull/4756">#4756</a></li> <li>Bump <code>target-lexicon</code> dependency to 0.13. <a href="https://redirect.github.com/PyO3/pyo3/pull/4822">#4822</a></li> <li>Add optional <code>jiff</code> dependency to add conversions for <code>jiff</code> datetime types. <a href="https://redirect.github.com/PyO3/pyo3/pull/4823">#4823</a></li> <li>Bump minimum supported <code>inventory</code> version to 0.3.5. <a href="https://redirect.github.com/PyO3/pyo3/pull/4954">#4954</a></li> </ul> <h3>Added</h3> <ul> <li>Add <code>PyIterator::send</code> method to allow sending values into a python generator. <a href="https://redirect.github.com/PyO3/pyo3/pull/4746">#4746</a></li> <li>Add <code>PyCallArgs</code> trait for passing arguments into the Python calling protocol. This enabled using a faster calling convention for certain types, improving performance. <a href="https://redirect.github.com/PyO3/pyo3/pull/4768">#4768</a></li> <li>Add <code>#[pyo3(default = ...']</code> option for <code>#[derive(FromPyObject)]</code> to set a default value for extracted fields of named structs. <a href="https://redirect.github.com/PyO3/pyo3/pull/4829">#4829</a></li> <li>Add <code>#[pyo3(into_py_with = ...)]</code> option for <code>#[derive(IntoPyObject, IntoPyObjectRef)]</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4850">#4850</a></li> <li>Add uuid to/from python conversions. <a href="https://redirect.github.com/PyO3/pyo3/pull/4864">#4864</a></li> <li>Add FFI definitions <code>PyThreadState_GetFrame</code> and <code>PyFrame_GetBack</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4866">#4866</a></li> <li>Optimize <code>last</code> for <code>BoundListIterator</code>, <code>BoundTupleIterator</code> and <code>BorrowedTupleIterator</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4878">#4878</a></li> <li>Optimize <code>Iterator::count()</code> for <code>PyDict</code>, <code>PyList</code>, <code>PyTuple</code> & <code>PySet</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4878">#4878</a></li> <li>Optimize <code>nth</code>, <code>nth_back</code>, <code>advance_by</code> and <code>advance_back_by</code> for <code>BoundTupleIterator</code> <a href="https://redirect.github.com/PyO3/pyo3/pull/4897">#4897</a></li> <li>Add support for <code>types.GenericAlias</code> as <code>pyo3::types::PyGenericAlias</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4917">#4917</a></li> <li>Add <code>MutextExt</code> trait to help avoid deadlocks with the GIL while locking a <code>std::sync::Mutex</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4934">#4934</a></li> <li>Add <code>#[pyo3(rename_all = "...")]</code> option for <code>#[derive(FromPyObject)]</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4941">#4941</a></li> </ul> <h3>Changed</h3> <ul> <li>Optimize <code>nth</code>, <code>nth_back</code>, <code>advance_by</code> and <code>advance_back_by</code> for <code>BoundListIterator</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4810">#4810</a></li> <li>Use <code>DerefToPyAny</code> in blanket implementations of <code>From<Py<T>></code> and <code>From<Bound<'py, T>></code> for <code>PyObject</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4593">#4593</a></li> <li>Map <code>io::ErrorKind::IsADirectory</code>/<code>NotADirectory</code> to the corresponding Python exception on Rust 1.83+. <a href="https://redirect.github.com/PyO3/pyo3/pull/4747">#4747</a></li> <li><code>PyAnyMethods::call</code> and friends now require <code>PyCallArgs</code> for their positional arguments. <a href="https://redirect.github.com/PyO3/pyo3/pull/4768">#4768</a></li> <li>Expose FFI definitions for <code>PyObject_Vectorcall(Method)</code> on the stable abi on 3.12+. <a href="https://redirect.github.com/PyO3/pyo3/pull/4853">#4853</a></li> <li><code>#[pyo3(from_py_with = ...)]</code> now take a path rather than a string literal <a href="https://redirect.github.com/PyO3/pyo3/pull/4860">#4860</a></li> <li>Format Python traceback in impl Debug for PyErr. <a href="https://redirect.github.com/PyO3/pyo3/pull/4900">#4900</a></li> <li>Convert <code>PathBuf</code> & <code>Path</code> into Python <code>pathlib.Path</code> instead of <code>PyString</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4925">#4925</a></li> <li>Relax parsing of exotic Python versions. <a href="https://redirect.github.com/PyO3/pyo3/pull/4949">#4949</a></li> <li>PyO3 threads now hang instead of <code>pthread_exit</code> trying to acquire the GIL when the interpreter is shutting down. This mimics the <a href="https://redirect.github.com/python/cpython/issues/87135">Python 3.14</a> behavior and avoids undefined behavior and crashes. <a href="https://redirect.github.com/PyO3/pyo3/pull/4874">#4874</a></li> </ul> <h3>Removed</h3> <ul> <li>Remove implementations of <code>Deref</code> for <code>PyAny</code> and other "native" types. <a href="https://redirect.github.com/PyO3/pyo3/pull/4593">#4593</a></li> <li>Remove implicit default of trailing optional arguments (see <a href="https://redirect.github.com/pyo3/pyo3/issues/2935">#2935</a>) <a href="https://redirect.github.com/PyO3/pyo3/pull/4729">#4729</a></li> <li>Remove the deprecated implicit eq fallback for simple enums. <a href="https://redirect.github.com/PyO3/pyo3/pull/4730">#4730</a></li> </ul> <h3>Fixed</h3> <ul> <li>Correct FFI definition of <code>PyIter_Send</code> to return a <code>PySendResult</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4746">#4746</a></li> <li>Fix a thread safety issue in the runtime borrow checker used by mutable pyclass instances on the free-threaded build. <a href="https://redirect.github.com/PyO3/pyo3/pull/4948">#4948</a></li> </ul> <h2>[0.23.5] - 2025-02-22</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PyO3/pyo3/commit/059e249057e895cfa36504890dfa79943f0b49c5"><code>059e249</code></a> release: 0.24.0 (<a href="https://redirect.github.com/pyo3/pyo3/issues/4959">#4959</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/fa15d9094034b94b50d45917053425ade0a9963b"><code>fa15d90</code></a> fix 3.7 builds (<a href="https://redirect.github.com/pyo3/pyo3/issues/4963">#4963</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/b726d6aeab3a35b273f0ade0bd4eed28823a09ff"><code>b726d6a</code></a> hang instead of pthread_exit during interpreter shutdown (<a href="https://redirect.github.com/pyo3/pyo3/issues/4874">#4874</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/295e67a838027a22d8a4678e5f92252bfeeea9f0"><code>295e67a</code></a> improve signature of <code>ffi::PyIter_Send</code> & add <code>PyIterator::send</code> (<a href="https://redirect.github.com/pyo3/pyo3/issues/4746">#4746</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/c06883105abd1bd1be6b4f820dcb9039aa138c2d"><code>c068831</code></a> docs: added docs on debugging using breakpoints (<a href="https://redirect.github.com/pyo3/pyo3/issues/4943">#4943</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/bdc372fbfb117bde6c55b8f0c1b7412fa49d8f31"><code>bdc372f</code></a> remove <code>Deref</code> implementations for old "gil refs" types (<a href="https://redirect.github.com/pyo3/pyo3/issues/4593">#4593</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/43ada7ce76d41044fb597f71c8a97a398e10afe5"><code>43ada7c</code></a> ignore <code>PyConfig</code> struct in <code>ffi-check</code> on 3.13 for now (<a href="https://redirect.github.com/pyo3/pyo3/issues/4961">#4961</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/98a6faf99f699ab91161f78587bca1ab1d6535ef"><code>98a6faf</code></a> bump <code>inventory</code> minimum version (<a href="https://redirect.github.com/pyo3/pyo3/issues/4954">#4954</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/35c00845a29bc5c2372252a4c017cc5e6368d1dd"><code>35c0084</code></a> Add supported CPython/PyPy versions to cargo package metadata (<a href="https://redirect.github.com/pyo3/pyo3/issues/4756">#4756</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/31bb2f4b1cc69e1fb7987ffeb6e8f01ce29535f1"><code>31bb2f4</code></a> allow path in <code>from_py_with</code> and deprecate string literal (<a href="https://redirect.github.com/pyo3/pyo3/issues/4860">#4860</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pyo3/pyo3/compare/v0.23.4...v0.24.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