dependabot[bot] opened a new pull request #1369:
URL: https://github.com/apache/arrow-rs/pull/1369


   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.16.0</h2>
   <p>This release contains substantial changes and improvements over PyO3 
0.15.1. To support these improvements, support has been dropped for the 
end-of-life Python 3.6 and Rust versions older than 1.48.</p>
   <p>The <code>pyo3::ffi</code> submodule has been split out into a separate 
<code>pyo3-ffi</code> crate, so that users who want to use PyO3's Python 
bindings without any of the safe APIs or macros are able to do so.</p>
   <p><code>#[pyclass]</code> can now be used on simple &quot;C-like&quot; 
enums to create Python enums.</p>
   <p>The <code>#[pyproto]</code> macro has been deprecated, and can be 
disabled by disabling the optional <code>#[pyproto]</code> feature. The 
&quot;magic methods&quot; such as <code>__repr__</code> which previously were 
implemented by <code>#[pyproto]</code> gained support in 
<code>#[pymethods]</code> in 0.15, and now in PyO3 0.16 
<code>#[pymethods]</code> is intended to be the only attribute macro needed to 
write class method implementations.</p>
   <p>There are numerous other reworks, improvements, and bugfixes.</p>
   <p>For full details of all changes, see the <a 
href="https://pyo3.rs/v0.16.0/changelog.html";>CHANGELOG</a>.</p>
   <p>Thank you to everyone who contributed code, documentation, design ideas, 
bug reports, and feedback. The following users' commits are included in this 
release:</p>
   <p><a href="https://github.com/adamreichold";><code>@​adamreichold</code></a>
   <a href="https://github.com/aganders3";><code>@​aganders3</code></a>
   <a href="https://github.com/Amanieu";><code>@​Amanieu</code></a>
   <a href="https://github.com/aviramha";><code>@​aviramha</code></a>
   <a href="https://github.com/birkenfeld";><code>@​birkenfeld</code></a>
   <a href="https://github.com/b05902132";><code>@​b05902132</code></a>
   <a href="https://github.com/CarlKCarlK";><code>@​CarlKCarlK</code></a>
   <a href="https://github.com/cmpute";><code>@​cmpute</code></a>
   <a 
href="https://github.com/danielhenrymantilla";><code>@​danielhenrymantilla</code></a>
   <a href="https://github.com/davidhewitt";><code>@​davidhewitt</code></a>
   <a href="https://github.com/DSPOM2";><code>@​DSPOM2</code></a>
   <a href="https://github.com/ghuls";><code>@​ghuls</code></a>
   <a href="https://github.com/Gobot1234";><code>@​Gobot1234</code></a>
   <a href="https://github.com/kevinheavey";><code>@​kevinheavey</code></a>
   <a href="https://github.com/konstin";><code>@​konstin</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/milesgranger";><code>@​milesgranger</code></a>
   <a href="https://github.com/mrl5";><code>@​mrl5</code></a>
   <a href="https://github.com/parsons20";><code>@​parsons20</code></a>
   <a href="https://github.com/RicoHageman";><code>@​RicoHageman</code></a>
   <a 
href="https://github.com/saidvandeklundert";><code>@​saidvandeklundert</code></a>
   <a href="https://github.com/Tom1380";><code>@​Tom1380</code></a>
   <a href="https://github.com/vxgmichel";><code>@​vxgmichel</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.16.0] - 2022-02-27</h2>
   <h3>Packaging</h3>
   <ul>
   <li>Update MSRV to Rust 1.48. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2004";>#2004</a></li>
   <li>Update <code>indoc</code> optional dependency to 1.0. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2004";>#2004</a></li>
   <li>Drop support for Python 3.6, remove <code>abi3-py36</code> feature. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2006";>#2006</a></li>
   <li><code>pyo3-build-config</code> no longer enables the 
<code>resolve-config</code> feature by default. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2008";>#2008</a></li>
   <li>Update <code>inventory</code> optional dependency to 0.2. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2019";>#2019</a></li>
   <li>Drop <code>paste</code> dependency. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2081";>#2081</a></li>
   <li>The bindings found in <code>pyo3::ffi</code> are now a re-export of a 
separate <code>pyo3-ffi</code> crate. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2126";>#2126</a></li>
   <li>Support PyPy 3.9. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2143";>#2143</a></li>
   </ul>
   <h3>Added</h3>
   <ul>
   <li>Add <code>PyCapsule</code> type exposing the <a 
href="https://docs.python.org/3/c-api/capsule.html#capsules";>Capsule API</a>. 
<a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/1980";>#1980</a></li>
   <li>Add <code>pyo3_build_config::Sysconfigdata</code> and supporting APIs. 
<a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/1996";>#1996</a></li>
   <li>Add <code>Py::setattr</code> method. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2009";>#2009</a></li>
   <li>Add <code>#[pyo3(crate = &quot;some::path&quot;)]</code> option to all 
attribute macros (except the deprecated <code>#[pyproto]</code>). <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2022";>#2022</a></li>
   <li>Enable <code>create_exception!</code> macro to take an optional 
docstring. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2027";>#2027</a></li>
   <li>Enable <code>#[pyclass]</code> for fieldless (aka C-like) enums. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2034";>#2034</a></li>
   <li>Add buffer magic methods <code>__getbuffer__</code> and 
<code>__releasebuffer__</code> to <code>#[pymethods]</code>. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2067";>#2067</a></li>
   <li>Add support for paths in <code>wrap_pyfunction</code> and 
<code>wrap_pymodule</code>. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2081";>#2081</a></li>
   <li>Enable <code>wrap_pyfunction!</code> to wrap a 
<code>#[pyfunction]</code> implemented in a different Rust module or crate. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2091";>#2091</a></li>
   <li>Add <code>PyAny::contains</code> method (<code>in</code> operator for 
<code>PyAny</code>). <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2115";>#2115</a></li>
   <li>Add <code>PyMapping::contains</code> method (<code>in</code> operator 
for <code>PyMapping</code>). <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2133";>#2133</a></li>
   <li>Add garbage collection magic magic methods <code>__traverse__</code> and 
<code>__clear__</code> to <code>#[pymethods]</code>. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2159";>#2159</a></li>
   <li>Add support for <code>from_py_with</code> on struct tuples and enums to 
override the default from-Python conversion. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2181";>#2181</a></li>
   <li>Add <code>eq</code>, <code>ne</code>, <code>lt</code>, <code>le</code>, 
<code>gt</code>, <code>ge</code> methods to <code>PyAny</code> that wrap 
<code>rich_compare</code>. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2175";>#2175</a></li>
   <li>Add <code>Py::is</code> and <code>PyAny::is</code> methods to check for 
object identity. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2183";>#2183</a></li>
   <li>Add support for the <code>__getattribute__</code> magic method. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2187";>#2187</a></li>
   </ul>
   <h3>Changed</h3>
   <ul>
   <li><code>PyType::is_subclass</code>, <code>PyErr::is_instance</code> and 
<code>PyAny::is_instance</code> now operate run-time type object instead of a 
type known at compile-time. The old behavior is still available as 
<code>PyType::is_subclass_of</code>, <code>PyErr::is_instance_of</code> and 
<code>PyAny::is_instance_of</code>.  <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/1985";>#1985</a></li>
   <li>Rename some methods on <code>PyErr</code> (the old names are just marked 
deprecated for now): <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2026";>#2026</a>
   <ul>
   <li><code>pytype</code> -&gt; <code>get_type</code></li>
   <li><code>pvalue</code> -&gt; <code>value</code> (and deprecate equivalent 
<code>instance</code>)</li>
   <li><code>ptraceback</code> -&gt; <code>traceback</code></li>
   <li><code>from_instance</code> -&gt; <code>from_value</code></li>
   <li><code>into_instance</code> -&gt; <code>into_value</code></li>
   </ul>
   </li>
   <li><code>PyErr::new_type</code> now takes an optional docstring and now 
returns <code>PyResult&lt;Py&lt;PyType&gt;&gt;</code> rather than a 
<code>ffi::PyTypeObject</code> pointer. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2027";>#2027</a></li>
   <li>Deprecate <code>PyType::is_instance</code>; it is inconsistent with 
other <code>is_instance</code> methods in PyO3. Instead of 
<code>typ.is_instance(obj)</code>, use <code>obj.is_instance(typ)</code>. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2031";>#2031</a></li>
   <li><code>__getitem__</code>, <code>__setitem__</code> and 
<code>__delitem__</code> in <code>#[pymethods]</code> now implement both a 
Python mapping and sequence by default. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2065";>#2065</a></li>
   <li>Improve performance and error messages for 
<code>#[derive(FromPyObject)]</code> for enums. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2068";>#2068</a></li>
   <li>Reduce generated LLVM code size (to improve compile times) for:
   <ul>
   <li>internal <code>handle_panic</code> helper <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2074";>#2074</a> <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2158";>#2158</a></li>
   <li><code>#[pyfunction]</code> and <code>#[pymethods]</code> argument 
extraction <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2075";>#2075</a> <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2085";>#2085</a></li>
   <li><code>#[pyclass]</code> type object creation <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2076";>#2076</a> <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2081";>#2081</a> <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2157";>#2157</a></li>
   </ul>
   </li>
   <li>Add modulo argument to <code>__ipow__</code> magic method. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2083";>#2083</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/4c434a21bd75e03368f7f114754dd8f31ecd2ead";><code>4c434a2</code></a>
 release: 0.16.0</li>
   <li><a 
href="https://github.com/PyO3/pyo3/commit/eab6e7b49829b98ba3734f4d2a6de2f79a690c30";><code>eab6e7b</code></a>
 Merge pull request <a 
href="https://github-redirect.dependabot.com/pyo3/pyo3/issues/2192";>#2192</a> 
from davidhewitt/misc-0.16-fixes</li>
   <li><a 
href="https://github.com/PyO3/pyo3/commit/b59ee9b54bf02a0c5315ccc0e971004200e65014";><code>b59ee9b</code></a>
 misc: tidy ups pre 0.16</li>
   <li><a 
href="https://github.com/PyO3/pyo3/commit/1ed9a73f0ffac9b77e221b0e41b136f897cb7b95";><code>1ed9a73</code></a>
 Merge pull request <a 
href="https://github-redirect.dependabot.com/pyo3/pyo3/issues/2187";>#2187</a> 
from PyO3/getattribute</li>
   <li><a 
href="https://github.com/PyO3/pyo3/commit/dc4f114d6772337d8b1568c6dbb0bf35deaa84dd";><code>dc4f114</code></a>
 Address review comments</li>
   <li><a 
href="https://github.com/PyO3/pyo3/commit/0678f112662ed42117737b69f80c55d39127a4fc";><code>0678f11</code></a>
 Protocols: implement <strong>getattribute</strong></li>
   <li><a 
href="https://github.com/PyO3/pyo3/commit/03dc96bff17bde94c98860996c6746acf3a64470";><code>03dc96b</code></a>
 Py/PyAny: remove PartialEq impl and add is() (<a 
href="https://github-redirect.dependabot.com/pyo3/pyo3/issues/2183";>#2183</a>)</li>
   <li><a 
href="https://github.com/PyO3/pyo3/commit/487345979bb88d9ae2208972f21dd0a281f11430";><code>4873459</code></a>
 Added <code>eq</code>, <code>ne</code>, <code>gt</code> etc. methods. (<a 
href="https://github-redirect.dependabot.com/pyo3/pyo3/issues/2175";>#2175</a>)</li>
   <li><a 
href="https://github.com/PyO3/pyo3/commit/1e1d6767d8fd477a1b52c152475bcee7c35a908d";><code>1e1d676</code></a>
 Merge pull request <a 
href="https://github-redirect.dependabot.com/pyo3/pyo3/issues/2143";>#2143</a> 
from davidhewitt/pypy-3.9-dev</li>
   <li><a 
href="https://github.com/PyO3/pyo3/commit/efbf92bd52c2b59a7902aa95d03d96b0aeb4d321";><code>efbf92b</code></a>
 pypy: don't allow abi to be adjusted by abi3 flag</li>
   <li>Additional commits viewable in <a 
href="https://github.com/pyo3/pyo3/compare/v0.15.0...v0.16.0";>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 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]


Reply via email to