dependabot[bot] opened a new pull request, #757: URL: https://github.com/apache/datafusion-python/pull/757
Bumps [pyo3-build-config](https://github.com/pyo3/pyo3) from 0.21.2 to 0.22.1. <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.22.1</h2> <p>This patch release improves some cases related to new functionality in PyO3 0.22.</p> <p><code>PartialEq<bool></code> has been added for <code>Bound<'py, PyBool></code>.</p> <p>The <code>#[pyo3(submodule)]</code> attribute has been added for declarative modules to stop submodules from generating an external C symbol for importing the submodule directly (which is typically never used). Declarative modules will also now correctly add items annotated with full-path attributes like <code>#[pyo3::prelude::pyfunction]</code>.</p> <p>The <code>#[pyclass(eq)]</code> option will no longer raise a <code>TypeError</code> on comparison against types not in the signature.</p> <p>A <code>#[setter]</code> in <code>#[pymethods]</code> with an <code>Option<T></code> input will no longer raise a deprecation warning.</p> <p>A regression has been fixed in conversions for 128-bit integers on big-endian platforms.</p> <p>Thank you to the following contributors for the improvements:</p> <p><a href="https://github.com/alex"><code>@alex</code></a> <a href="https://github.com/davidhewitt"><code>@davidhewitt</code></a> <a href="https://github.com/jatoben"><code>@jatoben</code></a> <a href="https://github.com/kylebarron"><code>@kylebarron</code></a> <a href="https://github.com/musicinmybrain"><code>@musicinmybrain</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></p> <h2>PyO3 0.22.0</h2> <p>This release introduces support for Python 3.13. Please note that Python 3.13 is still in beta, and while breaking changes are not expected it is very possible that code compiled against Python 3.13 beta versions will be incompatible with the final 3.13 release later in the year.</p> <p>The minimum supported Rust version has been increased to Rust 1.63.</p> <p>PyO3's deferred reference counting used to implement <code>Clone for Py<T></code> without the global interpreter lock has been demonstrated to be impossible to implement safely in the general case and has consequently been changed to panic instead of deferring when cloning <code>Py<T></code> without the GIL being held. Given the nature of panics inside <code>Clone</code> operations being a potential footgun, this implementation has been moved behind the opt-in <code>py-clone</code> feature.</p> <p>Other particularly notable changes include:</p> <ul> <li>The <code>#[pyclass]</code> macro now has additional options <code>#[pyclass(eq, ord, hash)]</code> to automatically generate Python implementations for equality, ordering and hashing based upon the Rust <code>PartialEq</code>, <code>PartialOrd</code> and <code>Hash</code> traits. This can ensure consistency and reduce boilerplate compared to implementing <code>__eq__</code>, <code>__hash__</code> and so on manually.</li> <li>The <code>experimental-declarative-modules</code> feature to support <code>#[pymodule]</code> on Rust <code>mod</code> items has been stabilised (and the feature flag removed). The existing implementation of <code>#[pymodule]</code> on <code>fn</code> items is still present but soft-deprecated; in the future new features will likely be added only to declarative modules, and the <code>fn</code> modules may eventually be deprecated and removed.</li> <li>The GIL Refs API deprecation started in PyO3 0.21 continues with all related APIs now being gated behind the <code>gil-refs</code> feature, and unconditionally deprecated. In PyO3 0.23 these APIs are expected to be removed.</li> </ul> <p>There have been numerous other smaller improvements, changes and fixes. For full details see the <a href="https://pyo3.rs/v0.22.0/changelog.html">CHANGELOG</a>.</p> <p>Please consult the <a href="https://pyo3.rs/v0.22.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/adamreichold"><code>@adamreichold</code></a> <a href="https://github.com/alex"><code>@alex</code></a> <a href="https://github.com/aneeshusa"><code>@aneeshusa</code></a> <a href="https://github.com/birkenfeld"><code>@birkenfeld</code></a> <a href="https://github.com/blmarket"><code>@blmarket</code></a> <a href="https://github.com/Cheukting"><code>@Cheukting</code></a> <a href="https://github.com/cmpute"><code>@cmpute</code></a> <a href="https://github.com/codeguru42"><code>@codeguru42</code></a> <a href="https://github.com/Databean"><code>@Databean</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.22.1] - 2024-07-06</h2> <h3>Added</h3> <ul> <li>Add <code>#[pyo3(submodule)]</code> option for declarative <code>#[pymodule]</code>s. <a href="https://redirect.github.com/PyO3/pyo3/pull/4301">#4301</a></li> <li>Implement <code>PartialEq<bool></code> for <code>Bound<'py, PyBool></code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4305">#4305</a></li> </ul> <h3>Fixed</h3> <ul> <li>Return <code>NotImplemented</code> instead of raising <code>TypeError</code> from generated equality method when comparing different types. <a href="https://redirect.github.com/PyO3/pyo3/pull/4287">#4287</a></li> <li>Handle full-path <code>#[pyo3::prelude::pymodule]</code> and similar for <code>#[pyclass]</code> and <code>#[pyfunction]</code> in declarative modules.<a href="https://redirect.github.com/PyO3/pyo3/pull/4288">#4288</a></li> <li>Fix 128-bit int regression on big-endian platforms with Python <3.13. <a href="https://redirect.github.com/PyO3/pyo3/pull/4291">#4291</a></li> <li>Stop generating code that will never be covered with declarative modules. <a href="https://redirect.github.com/PyO3/pyo3/pull/4297">#4297</a></li> <li>Fix invalid deprecation warning for trailing optional on <code>#[setter]</code> function. <a href="https://redirect.github.com/PyO3/pyo3/pull/4304">#4304</a></li> </ul> <h2>[0.22.0] - 2024-06-24</h2> <h3>Packaging</h3> <ul> <li>Update <code>heck</code> dependency to 0.5. <a href="https://redirect.github.com/PyO3/pyo3/pull/3966">#3966</a></li> <li>Extend range of supported versions of <code>chrono-tz</code> optional dependency to include version 0.10. <a href="https://redirect.github.com/PyO3/pyo3/pull/4061">#4061</a></li> <li>Update MSRV to 1.63. <a href="https://redirect.github.com/PyO3/pyo3/pull/4129">#4129</a></li> <li>Add optional <code>num-rational</code> feature to add conversions with Python's <code>fractions.Fraction</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4148">#4148</a></li> <li>Support Python 3.13. <a href="https://redirect.github.com/PyO3/pyo3/pull/4184">#4184</a></li> </ul> <h3>Added</h3> <ul> <li>Add <code>PyWeakref</code>, <code>PyWeakrefReference</code> and <code>PyWeakrefProxy</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/3835">#3835</a></li> <li>Support <code>#[pyclass]</code> on enums that have tuple variants. <a href="https://redirect.github.com/PyO3/pyo3/pull/4072">#4072</a></li> <li>Add support for scientific notation in <code>Decimal</code> conversion. <a href="https://redirect.github.com/PyO3/pyo3/pull/4079">#4079</a></li> <li>Add <code>pyo3_disable_reference_pool</code> conditional compilation flag to avoid the overhead of the global reference pool at the cost of known limitations as explained in the performance section of the guide. <a href="https://redirect.github.com/PyO3/pyo3/pull/4095">#4095</a></li> <li>Add <code>#[pyo3(constructor = (...))]</code> to customize the generated constructors for complex enum variants. <a href="https://redirect.github.com/PyO3/pyo3/pull/4158">#4158</a></li> <li>Add <code>PyType::module</code>, which always matches Python <code>__module__</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4196">#4196</a></li> <li>Add <code>PyType::fully_qualified_name</code> which matches the "fully qualified name" defined in <a href="https://peps.python.org/pep-0737">PEP 737</a>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4196">#4196</a></li> <li>Add <code>PyTypeMethods::mro</code> and <code>PyTypeMethods::bases</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4197">#4197</a></li> <li>Add <code>#[pyclass(ord)]</code> to implement ordering based on <code>PartialOrd</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4202">#4202</a></li> <li>Implement <code>ToPyObject</code> and <code>IntoPy<PyObject></code> for <code>PyBackedStr</code> and <code>PyBackedBytes</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4205">#4205</a></li> <li>Add <code>#[pyclass(hash)]</code> option to implement <code>__hash__</code> in terms of the <code>Hash</code> implementation <a href="https://redirect.github.com/PyO3/pyo3/pull/4206">#4206</a></li> <li>Add <code>#[pyclass(eq)]</code> option to generate <code>__eq__</code> based on <code>PartialEq</code>, and <code>#[pyclass(eq_int)]</code> for simple enums to implement equality based on their discriminants. <a href="https://redirect.github.com/PyO3/pyo3/pull/4210">#4210</a></li> <li>Implement <code>From<Bound<'py, T>></code> for <code>PyClassInitializer<T></code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4214">#4214</a></li> <li>Add <code>as_super</code> methods to <code>PyRef</code> and <code>PyRefMut</code> for accesing the base class by reference. <a href="https://redirect.github.com/PyO3/pyo3/pull/4219">#4219</a></li> <li>Implement <code>PartialEq<str></code> for <code>Bound<'py, PyString></code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4245">#4245</a></li> <li>Implement <code>PyModuleMethods::filename</code> on PyPy. <a href="https://redirect.github.com/PyO3/pyo3/pull/4249">#4249</a></li> <li>Implement <code>PartialEq<[u8]></code> for <code>Bound<'py, PyBytes></code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4250">#4250</a></li> <li>Add <code>pyo3_ffi::c_str</code> macro to create <code>&'static CStr</code> on Rust versions which don't have 1.77's <code>c""</code> literals. <a href="https://redirect.github.com/PyO3/pyo3/pull/4255">#4255</a></li> <li>Support <code>bool</code> conversion with <code>numpy</code> 2.0's <code>numpy.bool</code> type <a href="https://redirect.github.com/PyO3/pyo3/pull/4258">#4258</a></li> <li>Add <code>PyAnyMethods::{bitnot, matmul, floor_div, rem, divmod}</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4264">#4264</a></li> </ul> <h3>Changed</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PyO3/pyo3/commit/59c4fa3f249aa19eb9cb80fe418298c8267c00b2"><code>59c4fa3</code></a> release: 0.22.1 (<a href="https://redirect.github.com/pyo3/pyo3/issues/4314">#4314</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/9afc38ae416bb750efd227e4f8b4302392c0d303"><code>9afc38a</code></a> fixes <a href="https://redirect.github.com/pyo3/pyo3/issues/4285">#4285</a> -- allow full-path to pymodule with nested declarative modules (#...</li> <li><a href="https://github.com/PyO3/pyo3/commit/5860c4f7e9615afcf33b3905c95211d54242fad7"><code>5860c4f</code></a> implement PartialEq for Pybool & bool (<a href="https://redirect.github.com/pyo3/pyo3/issues/4305">#4305</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/0af02278342bada5c76bded787d4a7736cbdb96a"><code>0af0227</code></a> fix deprecation warning for trailing optional on <code>#[setter]</code> functions (<a href="https://redirect.github.com/pyo3/pyo3/issues/4304">#4304</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/ee9123a2d278dee8b461f9c3ee3235dee9c755c0"><code>ee9123a</code></a> Fix link in the contribution guide (<a href="https://redirect.github.com/pyo3/pyo3/issues/4306">#4306</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/ccd04475a30409f226a1e044239c6b7e35260e98"><code>ccd0447</code></a> refs <a href="https://redirect.github.com/pyo3/pyo3/issues/4286">#4286</a> -- allow setting submodule on declarative pymodules (<a href="https://redirect.github.com/pyo3/pyo3/issues/4301">#4301</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/f3603a0a483448c71f1811786257d070733540bf"><code>f3603a0</code></a> Avoid generating functions that are only ever const evaluated with declarativ...</li> <li><a href="https://github.com/PyO3/pyo3/commit/872bd7e6f7390ff2035b1d164582aace33d69e76"><code>872bd7e</code></a> Add pyo3-arrow to README (<a href="https://redirect.github.com/pyo3/pyo3/issues/4302">#4302</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/8f7450e33d9edcab790d5b2ad303cbb81a86536e"><code>8f7450e</code></a> Fix 128-bit int regression on big-endian with Python <3.13 (<a href="https://redirect.github.com/pyo3/pyo3/issues/4291">#4291</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/7c2f5e80de3a08bacd125164178da5f739b1b379"><code>7c2f5e8</code></a> Don't raise <code>TypeError</code> from generated equality method (<a href="https://redirect.github.com/pyo3/pyo3/issues/4287">#4287</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pyo3/pyo3/compare/v0.21.2...v0.22.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 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