Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update pyo3 requirement from 0.21.2 to 0.22.0 (#61)
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.21.2</h2> <p>This release contains some fixes to compile-time edge cases for the PyO3 0.21 series:</p> <ul> <li>A missing deprecation warning for the GIL Ref constructor <code>PySet::empty</code> has now been added.</li> <li><code>#[pymodule]</code> functions will no longer trigger <code>missing_docs</code> lints on their generated code.</li> <li>Incorrect implementations of <code>__traverse__</code> in <code>#[pymethods]</code> will now emit a better error.</li> <li>Extension modules on AIX will now link to <code>libpython</code>.</li> </ul> <p>This release also fixes some compile errors for the <code>experimental-async</code> and <code>experimental-declarative-modules</code> features, and corrects some documentation typos.</p> <p>Thank you to the following users for the improvements:</p> <p><a href="https://github.com/adamreichold"><code>@adamreichold</code></a> <a href="https://github.com/blmarket"><code>@blmarket</code></a> <a href="https://github.com/davidhewitt"><code>@davidhewitt</code></a> <a href="https://github.com/Icxolu"><code>@Icxolu</code></a> <a href="https://github.com/lfn3"><code>@lfn3</code></a> <a href="https://github.com/messense"><code>@messense</code></a> <a href="https://github.com/wyfo"><code>@wyfo</code></a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md">pyo3's changelog</a>.</em></p> <blockquote> <h2>[0.21.2] - 2024-04-16</h2> <h3>Changed</h3> <ul> <li>Deprecate the <code>PySet::empty()</code> gil-ref constructor. <a href="https://redirect.github.com/PyO3/pyo3/pull/4082">#4082</a></li> </ul> <h3>Fixed</h3> <ul> <li>Fix compile error for <code>async fn</code> in <code>#[pymethods]</code> with a <code>&self</code> receiver and more than one additional argument. <a href="https://redirect.github.com/PyO3/pyo3/pull/4035">#4035</a></li> <li>Improve error message for wrong receiver type in <code>__traverse__</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4045">#4045</a></li> <li>Fix compile error when exporting a <code>#[pyclass]</code> living in a different Rust module using the <code>experimental-declarative-modules</code> feature. <a href="https://redirect.github.com/PyO3/pyo3/pull/4054">#4054</a></li> <li>Fix <code>missing_docs</code> lint triggering on documented <code>#[pymodule]</code> functions. <a href="https://redirect.github.com/PyO3/pyo3/pull/4067">#4067</a></li> <li>Fix undefined symbol errors for extension modules on AIX (by linking <code>libpython</code>). <a href="https://redirect.github.com/PyO3/pyo3/pull/4073">#4073</a></li> </ul> <h2>[0.21.1] - 2024-04-01</h2> <h3>Added</h3> <ul> <li>Implement <code>Send</code> and <code>Sync</code> for <code>PyBackedStr</code> and <code>PyBackedBytes</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4007">#4007</a></li> <li>Implement <code>Clone</code>, <code>Debug</code>, <code>PartialEq</code>, <code>Eq</code>, <code>PartialOrd</code>, <code>Ord</code> and <code>Hash</code> implementation for <code>PyBackedBytes</code> and <code>PyBackedStr</code>, and <code>Display</code> for <code>PyBackedStr</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/4020">#4020</a></li> <li>Add <code>import_exception_bound!</code> macro to import exception types without generating GIL Ref functionality for them. <a href="https://redirect.github.com/PyO3/pyo3/pull/4027">#4027</a></li> </ul> <h3>Changed</h3> <ul> <li>Emit deprecation warning for uses of GIL Refs as <code>#[setter]</code> function arguments. <a href="https://redirect.github.com/PyO3/pyo3/pull/3998">#3998</a></li> <li>Add <code>#[inline]</code> hints on many <code>Bound</code> and <code>Borrowed</code> methods. <a href="https://redirect.github.com/PyO3/pyo3/pull/4024">#4024</a></li> </ul> <h3>Fixed</h3> <ul> <li>Handle <code>#[pyo3(from_py_with = "")]</code> in <code>#[setter]</code> methods <a href="https://redirect.github.com/PyO3/pyo3/pull/3995">#3995</a></li> <li>Allow extraction of <code>&Bound</code> in <code>#[setter]</code> methods. <a href="https://redirect.github.com/PyO3/pyo3/pull/3998">#3998</a></li> <li>Fix some uncovered code blocks emitted by <code>#[pymodule]</code>, <code>#[pyfunction]</code> and <code>#[pyclass]</code> macros. <a href="https://redirect.github.com/PyO3/pyo3/pull/4009">#4009</a></li> <li>Fix typo in the panic message when a class referenced in <code>pyo3::import_exception!</code> does not exist. <a href="https://redirect.github.com/PyO3/pyo3/pull/4012">#4012</a></li> <li>Fix compile error when using an async <code>#[pymethod]</code> with a receiver and additional arguments. <a href="https://redirect.github.com/PyO3/pyo3/pull/4015">#4015</a></li> </ul> <h2>[0.21.0] - 2024-03-25</h2> <h3>Added</h3> <ul> <li>Add support for GraalPy (24.0 and up). <a href="https://redirect.github.com/PyO3/pyo3/pull/3247">#3247</a></li> <li>Add <code>PyMemoryView</code> type. <a href="https://redirect.github.com/PyO3/pyo3/pull/3514">#3514</a></li> <li>Allow <code>async fn</code> in for <code>#[pyfunction]</code> and <code>#[pymethods]</code>, with the <code>experimental-async</code> feature. <a href="https://redirect.github.com/PyO3/pyo3/pull/3540">#3540</a> <a href="https://redirect.github.com/PyO3/pyo3/pull/3588">#3588</a> <a href="https://redirect.github.com/PyO3/pyo3/pull/3599">#3599</a> <a href="https://redirect.github.com/PyO3/pyo3/pull/3931">#3931</a></li> <li>Implement <code>PyTypeInfo</code> for <code>PyEllipsis</code>, <code>PyNone</code> and <code>PyNotImplemented</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/3577">#3577</a></li> <li>Support <code>#[pyclass]</code> on enums that have non-unit variants. <a href="https://redirect.github.com/PyO3/pyo3/pull/3582">#3582</a></li> <li>Support <code>chrono</code> feature with <code>abi3</code> feature. <a href="https://redirect.github.com/PyO3/pyo3/pull/3664">#3664</a></li> <li><code>FromPyObject</code>, <code>IntoPy<PyObject></code> and <code>ToPyObject</code> are implemented on <code>std::duration::Duration</code> <a href="https://redirect.github.com/PyO3/pyo3/pull/3670">#3670</a></li> <li>Add <code>PyString::to_cow</code>. Add <code>Py<PyString>::to_str</code>, <code>Py<PyString>::to_cow</code>, and <code>Py<PyString>::to_string_lossy</code>, as ways to access Python string data safely beyond the GIL lifetime. <a href="https://redirect.github.com/PyO3/pyo3/pull/3677">#3677</a></li> <li>Add <code>Bound<T></code> and <code>Borrowed<T></code> smart pointers as a new API for accessing Python objects. <a href="https://redirect.github.com/PyO3/pyo3/pull/3686">#3686</a></li> <li>Add <code>PyNativeType::as_borrowed</code> to convert "GIL refs" to the new <code>Bound</code> smart pointer. <a href="https://redirect.github.com/PyO3/pyo3/pull/3692">#3692</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/pyo3/pyo3/compare/v0.21.2...v0.21.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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information