dependabot[bot] opened a new pull request, #961: URL: https://github.com/apache/datafusion-python/pull/961
Bumps [pyo3-build-config](https://github.com/pyo3/pyo3) from 0.22.6 to 0.23.2. <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.23.2</h2> <p>This release fixes a build failure when attempting to compile for free-threaded Python when the <code>abi3</code> or <code>abi3-pyxx</code> features are enabled. With this fix, the compile will now ignore (with a warning) the <code>abi3</code> and <code>abi3-pyxx</code> flags (as is the case when compiling for PyPy, as neither support <code>abi3</code>).</p> <p>This release also iterates upon the new <code>IntoPyObject</code> trait by adding an <code>IntoPyObjectExt</code> helper trait with some common convenience functions.</p> <p>Finally, a compile failure related to <code>ambiguous_associated_items</code> lint errors inside generated <code>#[pyclass]</code> and <code>#[derive(IntoPyObject)]</code> output has been fixed.</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/LilyFoote"><code>@LilyFoote</code></a> <a href="https://github.com/ngoldbaum"><code>@ngoldbaum</code></a></p> <h2>PyO3 0.23.1</h2> <p>This is a re-release of PyO3 0.23.0 with corrections to fix docs.rs builds.</p> <p>Thanks <a href="https://github.com/yotamofek"><code>@yotamofek</code></a> for the reports & fixes!</p> <h2>PyO3 0.23.0</h2> <p>This release is a significant iteration to both PyO3's internals and API with two major enhancements:</p> <ul> <li>Support for Python 3.13t, also known as "free-threaded Python".</li> <li>A new trait <code>IntoPyObject</code>, which unifies the existing to-Python conversion traits <code>IntoPy</code> and <code>ToPyObject</code> while also allowing new optimizations and proper error handling. The new trait also has a <code>#[derive(IntoPyObject)]</code> macro.</li> </ul> <p>While both of these new features have undergone extensive design, it will be no surprise to find teething issues. All feedback is encouraged so that we can follow up with iterative improvements for these new features in future releases.</p> <p>On top of the major additions, the removal of the "GIL Refs" API deprecated in PyO3 0.21 is now complete. A number of PyO3 APIs have had new simpler names introduced now that the PyO3 API is no longer in a migration phase (for example <code>PyTuple::new_bound</code> is now simplified to <code>PyTuple::new</code>).</p> <p>Beyond that, PyO3 0.23 contains nearly 5 months of incremental improvements, bug fixes and smaller features that have been implemented while the major work of this release was ongoing.</p> <p>Please consult the <a href="https://pyo3.rs/v0.23.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/abrisco"><code>@abrisco</code></a> <a href="https://github.com/adamcavendish"><code>@adamcavendish</code></a> <a href="https://github.com/ahlinc"><code>@ahlinc</code></a> <a href="https://github.com/akuhnregnier"><code>@akuhnregnier</code></a> <a href="https://github.com/alex"><code>@alex</code></a> <a href="https://github.com/attack68"><code>@attack68</code></a> <a href="https://github.com/birkenfeld"><code>@birkenfeld</code></a> <a href="https://github.com/Brogolem35"><code>@Brogolem35</code></a> <a href="https://github.com/bschoenmaeckers"><code>@bschoenmaeckers</code></a> <a href="https://github.com/ChayimFriedman2"><code>@ChayimFriedman2</code></a> <a href="https://github.com/Cheukting"><code>@Cheukting</code></a> <a href="https://github.com/csernazs"><code>@csernazs</code></a> <a href="https://github.com/davidhewitt"><code>@davidhewitt</code></a> <a href="https://github.com/deedy5"><code>@deedy5</code></a> <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] <a href="https://github.com/digitalsentinel"><code>@digitalsentinel</code></a> <a href="https://github.com/exg"><code>@exg</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.23.2] - 2024-11-25</h2> <h3>Added</h3> <ul> <li>Add <code>IntoPyObjectExt</code> trait. <a href="https://redirect.github.com/PyO3/pyo3/pull/4708">#4708</a></li> </ul> <h3>Fixed</h3> <ul> <li>Fix compile failures when building for free-threaded Python when the <code>abi3</code> or <code>abi3-pyxx</code> features are enabled. <a href="https://redirect.github.com/PyO3/pyo3/pull/4719">#4719</a></li> <li>Fix <code>ambiguous_associated_items</code> lint error in <code>#[pyclass]</code> and <code>#[derive(IntoPyObject)]</code> macros. <a href="https://redirect.github.com/PyO3/pyo3/pull/4725">#4725</a></li> </ul> <h2>[0.23.1] - 2024-11-16</h2> <p>Re-release of 0.23.0 with fixes to docs.rs build.</p> <h2>[0.23.0] - 2024-11-15</h2> <h3>Packaging</h3> <ul> <li>Drop support for PyPy 3.7 and 3.8. <a href="https://redirect.github.com/PyO3/pyo3/pull/4582">#4582</a></li> <li>Extend range of supported versions of <code>hashbrown</code> optional dependency to include version 0.15. <a href="https://redirect.github.com/PyO3/pyo3/pull/4604">#4604</a></li> <li>Bump minimum version of <code>eyre</code> optional dependency to 0.6.8. <a href="https://redirect.github.com/PyO3/pyo3/pull/4617">#4617</a></li> <li>Bump minimum version of <code>hashbrown</code> optional dependency to 0.14.5. <a href="https://redirect.github.com/PyO3/pyo3/pull/4617">#4617</a></li> <li>Bump minimum version of <code>indexmap</code> optional dependency to 2.5.0. <a href="https://redirect.github.com/PyO3/pyo3/pull/4617">#4617</a></li> <li>Bump minimum version of <code>num-complex</code> optional dependency to 0.4.6. <a href="https://redirect.github.com/PyO3/pyo3/pull/4617">#4617</a></li> <li>Bump minimum version of <code>chrono-tz</code> optional dependency to 0.10. <a href="https://redirect.github.com/PyO3/pyo3/pull/4617">#4617</a></li> <li>Support free-threaded Python 3.13t. <a href="https://redirect.github.com/PyO3/pyo3/pull/4588">#4588</a></li> </ul> <h3>Added</h3> <ul> <li>Add <code>IntoPyObject</code> (fallible) conversion trait to convert from Rust to Python values. <a href="https://redirect.github.com/PyO3/pyo3/pull/4060">#4060</a></li> <li>Add <code>#[pyclass(str="<format string>")]</code> option to generate <code>__str__</code> based on a <code>Display</code> implementation or format string. <a href="https://redirect.github.com/PyO3/pyo3/pull/4233">#4233</a></li> <li>Implement <code>PartialEq</code> for <code>Bound<'py, PyInt></code> with <code>u8</code>, <code>u16</code>, <code>u32</code>, <code>u64</code>, <code>u128</code>, <code>usize</code>, <code>i8</code>, <code>i16</code>, <code>i32</code>, <code>i64</code>, <code>i128</code> and <code>isize</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4317">#4317</a></li> <li>Implement <code>PartialEq<f64></code> and <code>PartialEq<f32></code> for <code>Bound<'py, PyFloat></code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4348">#4348</a></li> <li>Add <code>as_super</code> and <code>into_super</code> methods for <code>Bound<T: PyClass></code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4351">#4351</a></li> <li>Add FFI definitions <code>PyCFunctionFast</code> and <code>PyCFunctionFastWithKeywords</code> <a href="https://redirect.github.com/PyO3/pyo3/pull/4415">#4415</a></li> <li>Add FFI definitions for <code>PyMutex</code> on Python 3.13 and newer. <a href="https://redirect.github.com/PyO3/pyo3/pull/4421">#4421</a></li> <li>Add <code>PyDict::locked_for_each</code> to iterate efficiently on freethreaded Python. <a href="https://redirect.github.com/PyO3/pyo3/pull/4439">#4439</a></li> <li>Add FFI definitions <code>PyObject_GetOptionalAttr</code>, <code>PyObject_GetOptionalAttrString</code>, <code>PyObject_HasAttrWithError</code>, <code>PyObject_HasAttrStringWithError</code>, <code>Py_CONSTANT_*</code> constants, <code>Py_GetConstant</code>, <code>Py_GetConstantBorrowed</code>, and <code>PyType_GetModuleByDef</code> on Python 3.13 and newer. <a href="https://redirect.github.com/PyO3/pyo3/pull/4447">#4447</a></li> <li>Add FFI definitions for the Python critical section API available on Python 3.13 and newer. <a href="https://redirect.github.com/PyO3/pyo3/pull/4477">#4477</a></li> <li>Add derive macro for <code>IntoPyObject</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4495">#4495</a></li> <li>Add <code>Borrowed::as_ptr</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4520">#4520</a></li> <li>Add FFI definition for <code>PyImport_AddModuleRef</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4529">#4529</a></li> <li>Add <code>PyAnyMethods::try_iter</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4553">#4553</a></li> <li>Add <code>pyo3::sync::with_critical_section</code>, a wrapper around the Python Critical Section API added in Python 3.13. <a href="https://redirect.github.com/PyO3/pyo3/pull/4587">#4587</a></li> <li>Add <code>#[pymodule(gil_used = false)]</code> option to declare that a module supports the free-threaded build. <a href="https://redirect.github.com/PyO3/pyo3/pull/4588">#4588</a></li> <li>Add <code>PyModule::gil_used</code> method to declare that a module supports the free-threaded build. <a href="https://redirect.github.com/PyO3/pyo3/pull/4588">#4588</a></li> <li>Add FFI definition <code>PyDateTime_CAPSULE_NAME</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4634">#4634</a></li> <li>Add <code>PyMappingProxy</code> type to represent the <code>mappingproxy</code> Python class. <a href="https://redirect.github.com/PyO3/pyo3/pull/4644">#4644</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/a9678269d4742eb2cd5eda19d6935eaea44f693e"><code>a967826</code></a> release: 0.23.2</li> <li><a href="https://github.com/PyO3/pyo3/commit/07093e9b48b393320eb358b6e30bcef0906aa9b0"><code>07093e9</code></a> Free-threaded build config fixes (<a href="https://redirect.github.com/pyo3/pyo3/issues/4719">#4719</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/02eb2a1e90f2ac2672771fc0b6751a2bbec9ec22"><code>02eb2a1</code></a> Fix ambiguous associated item error (<a href="https://redirect.github.com/pyo3/pyo3/issues/4725">#4725</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/ab999ae5d3df10db88612e7a72acf722abd5250b"><code>ab999ae</code></a> docs: remove outdated <code>#[pyclass(text_signature = "...")]</code> option (<a href="https://redirect.github.com/pyo3/pyo3/issues/4721">#4721</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/3a94a6617dec36bdaef137fa3c48797a9beaa645"><code>3a94a66</code></a> add <code>IntoPyObjectExt</code> trait (<a href="https://redirect.github.com/pyo3/pyo3/issues/4708">#4708</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/11b9086b6190a2f21c1c9ba6beffbcaf5a3d3a73"><code>11b9086</code></a> Bump codecov/codecov-action from 4 to 5 (<a href="https://redirect.github.com/pyo3/pyo3/issues/4718">#4718</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/5585240da53ca793b29d7929ad54b1458e10c78c"><code>5585240</code></a> release: 0.23.1</li> <li><a href="https://github.com/PyO3/pyo3/commit/64008e41c47226a0957c7fad256e56aa05bbd76f"><code>64008e4</code></a> docs: Don't try to build <code>gil-refs</code> feature (<a href="https://redirect.github.com/pyo3/pyo3/issues/4712">#4712</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/48771def2a2d148326054356dd312c5c335bd91b"><code>48771de</code></a> Fix migration guide URL (<a href="https://redirect.github.com/pyo3/pyo3/issues/4711">#4711</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/c0f756c056f56d0796cebef4eac48a05db97f956"><code>c0f756c</code></a> fixup docs for packaging (<a href="https://redirect.github.com/pyo3/pyo3/issues/4710">#4710</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pyo3/pyo3/compare/v0.22.6...v0.23.2">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