dependabot[bot] opened a new pull request, #6085: URL: https://github.com/apache/arrow-rs/pull/6085
Updates the requirements on [pyo3](https://github.com/pyo3/pyo3) to permit the latest version. <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.22.2</h2> <p>This release contains some minor reliability fixes building upon PyO3 0.22.1.</p> <p>As PyO3 is still working on supporting freethreaded Python (upcoming in 3.13), support has been gated behind an <code>UNSAFE_PYO3_BUILD_FREE_THREADED=1</code> environment variable to avoid unsuspecting users running into broken builds.</p> <p>Packages built for the <code>abi3</code> stable ABI will now use FFI functions for refcounting instead of inline reference count modifications on all versions of the stable ABI (previously only <code>abi3</code> builds for 3.12 and up would use FFI functions). This helps mitigate interactions of old versions of the stable ABI with future CPython releases which do more complex reference counting (e.g. immortal objects, freethreaded reference counting).</p> <p>The <code>#[pymodule]</code> declarative module now supports directly receiving options. (E.g. <code>#[pymodule(name = "foo")]</code>, which would previously have been written as two attributes <code>#[pymodule] #[pyo3(name = "foo")]</code>.)</p> <p>A compile error on Rust 1.78 related to use of <code>c""</code> literals 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/FlickerSoul"><code>@FlickerSoul</code></a> <a href="https://github.com/gi0baro"><code>@gi0baro</code></a> <a href="https://github.com/Icxolu"><code>@Icxolu</code></a> <a href="https://github.com/MatthijsKok"><code>@MatthijsKok</code></a> <a href="https://github.com/styvane"><code>@styvane</code></a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/PyO3/pyo3/blob/v0.22.2/CHANGELOG.md">pyo3's changelog</a>.</em></p> <blockquote> <h2>[0.22.2] - 2024-07-17</h2> <h3>Packaging</h3> <ul> <li>Require opt-in to freethreaded Python using the <code>UNSAFE_PYO3_BUILD_FREE_THREADED=1</code> environment variable (it is not yet supported by PyO3). <a href="https://redirect.github.com/PyO3/pyo3/pull/4327">#4327</a></li> </ul> <h3>Changed</h3> <ul> <li>Use FFI function calls for reference counting on all abi3 versions. <a href="https://redirect.github.com/PyO3/pyo3/pull/4324">#4324</a></li> <li><code>#[pymodule(...)]</code> now directly accepts all relevant <code>#[pyo3(...)]</code> options. <a href="https://redirect.github.com/PyO3/pyo3/pull/4330">#4330</a></li> </ul> <h3>Fixed</h3> <ul> <li>Fix compile failure in declarative <code>#[pymodule]</code> under presence of <code>#![no_implicit_prelude]</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4328">#4328</a></li> <li>Fix compile failure due to c-string literals on Rust < 1.79. <a href="https://redirect.github.com/PyO3/pyo3/pull/4353">#4353</a></li> </ul> <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> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PyO3/pyo3/commit/92b0f1579776952ceaa67e0423d3f94f69faccfe"><code>92b0f15</code></a> release: 0.22.2</li> <li><a href="https://github.com/PyO3/pyo3/commit/da9f52e8ccbe6d7e8a2c511390ec02f937adca07"><code>da9f52e</code></a> only emit c-string literals on Rust 1.79 and later (<a href="https://redirect.github.com/pyo3/pyo3/issues/4352">#4352</a>) (<a href="https://redirect.github.com/pyo3/pyo3/issues/4353">#4353</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/3d7e5a3e9d798aefea71ef9c6b693625143027da"><code>3d7e5a3</code></a> chore: update <code>ruff</code> configuration to resolve deprecation warning (<a href="https://redirect.github.com/pyo3/pyo3/issues/4346">#4346</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/e2ebb729504ac8a8057b713c8a4494d75142ff43"><code>e2ebb72</code></a> use FFI calls for refcounting on all abi3 versions (<a href="https://redirect.github.com/pyo3/pyo3/issues/4324">#4324</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/7e0fc302954f1991a1511fb7f08fa7bfa9396434"><code>7e0fc30</code></a> allow <code>#[pymodule(...)]</code> to accept all relevant <code>#[pyo3(...)]</code> options (<a href="https://redirect.github.com/pyo3/pyo3/issues/4330">#4330</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/63175709e1dc4ab37b84b4a2d5782abd3309eca6"><code>6317570</code></a> remove <code>BuildFlag</code> member to avoid breaking change in patch</li> <li><a href="https://github.com/PyO3/pyo3/commit/7fed7c3babd270126688f420adb4de77482bdf10"><code>7fed7c3</code></a> Prevent building in GIL-less environment (<a href="https://redirect.github.com/pyo3/pyo3/issues/4327">#4327</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/d99fc0608402452b4a67eff7feb5ba7766978f48"><code>d99fc06</code></a> docs: fixups to 0.22 migration guide (<a href="https://redirect.github.com/pyo3/pyo3/issues/4332">#4332</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/613a70b241c9650f30559c1508f5ed1bec7d9ab2"><code>613a70b</code></a> docs: use versioned links from docs to guide (<a href="https://redirect.github.com/pyo3/pyo3/issues/4331">#4331</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/b50f1c33d9943bbc6a23e7fcfec550515ae5d2d8"><code>b50f1c3</code></a> ci: check minimal-versions on MSRV feature powerset (<a href="https://redirect.github.com/pyo3/pyo3/issues/4273">#4273</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pyo3/pyo3/compare/v0.21.1...v0.22.2">compare view</a></li> </ul> </details> <br /> 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
