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

   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.18.0</h2>
   <p>This release contains a number of new features for PyO3's macros which 
should make maintaining PyO3 projects easier.</p>
   <p><code>#[pyfunction]</code> and <code>#[pymethods]</code> have a new 
<code>#[pyo3(signature = (...))]</code> option which allows specifying the 
Python signature. This replaces the <code>#[args]</code> option already present 
for <code>#[pymethods]</code>; the new option is better-validated and offers a 
syntax much more intuitive to users familiar with writing pure-Python 
functions.</p>
   <p><code>#[pyclass]</code> has new <code>get_all</code> and 
<code>set_all</code> options for cases where <em>all</em> fields of a type 
should be readable or writable from Python.</p>
   <p>The <code>#[pyo3(text_signature = &quot;...&quot;)]</code> option is now 
autogenerated for all functions created with <code>#[pyfunction]</code> and 
<code>#[pymethods]</code>. It can still be applied manually when it is 
necessary to override the generated form.</p>
   <p>As well as the macro API improvements, some other notable changes 
include:</p>
   <ul>
   <li><code>PySet::new</code> and <code>PyFrozenSet::new</code> now accept 
Rust iterators rather than requiring a slice.</li>
   <li>Rust types have been added for all Python's built-in 
<code>Warning</code> types.</li>
   <li>Non-zero integer types in <code>std::num</code> now have a conversion 
to/from Python <code>int</code>.</li>
   <li>The deprecated <code>#[pyproto]</code> attribute is now 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.18.0/changelog.html";>CHANGELOG</a>.</p>
   <p>Please consult the <a 
href="https://pyo3.rs/v0.18.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 users' commits are included in this 
release:</p>
   <p><a href="https://github.com/a1phyr";><code>@​a1phyr</code></a>
   <a href="https://github.com/adamreichold";><code>@​adamreichold</code></a>
   <a href="https://github.com/AdilZouitine";><code>@​AdilZouitine</code></a>
   <a href="https://github.com/alex";><code>@​alex</code></a>
   <a href="https://github.com/birkenfeld";><code>@​birkenfeld</code></a>
   <a href="https://github.com/CLOVIS-AI";><code>@​CLOVIS-AI</code></a>
   <a href="https://github.com/ctb";><code>@​ctb</code></a>
   <a href="https://github.com/dalcde";><code>@​dalcde</code></a>
   <a href="https://github.com/datapythonista";><code>@​datapythonista</code></a>
   <a href="https://github.com/davidhewitt";><code>@​davidhewitt</code></a>
   <a href="https://github.com/dylanbstorey";><code>@​dylanbstorey</code></a>
   <a href="https://github.com/flickpp";><code>@​flickpp</code></a>
   <a href="https://github.com/gnaaman-dn";><code>@​gnaaman-dn</code></a>
   <a href="https://github.com/haixuanTao";><code>@​haixuanTao</code></a>
   <a href="https://github.com/hauntsaninja";><code>@​hauntsaninja</code></a>
   <a href="https://github.com/ijl";><code>@​ijl</code></a>
   <a href="https://github.com/itamarst";><code>@​itamarst</code></a>
   <a href="https://github.com/jqnatividad";><code>@​jqnatividad</code></a>
   <a href="https://github.com/matthewlloyd";><code>@​matthewlloyd</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/mrob95";><code>@​mrob95</code></a>
   <a href="https://github.com/ongchi";><code>@​ongchi</code></a>
   <a href="https://github.com/Oppen";><code>@​Oppen</code></a>
   <a href="https://github.com/prehner";><code>@​prehner</code></a>
   <a href="https://github.com/Psykopear";><code>@​Psykopear</code></a>
   <a href="https://github.com/qbx2";><code>@​qbx2</code></a>
   <a href="https://github.com/ryanrussell";><code>@​ryanrussell</code></a>
   <a href="https://github.com/saethlin";><code>@​saethlin</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's 
changelog</a>.</em></p>
   <blockquote>
   <h2>[0.18.0] - 2023-01-17</h2>
   <h3>Packaging</h3>
   <ul>
   <li>Relax <code>indexmap</code> optional depecency to allow <code>&gt;= 1.6, 
&lt; 2</code>. [#2849](<a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2849";>PyO3/pyo3#2849</a></li>
   <li>Relax <code>hashbrown</code> optional dependency to allow <code>&gt;= 
0.9, &lt; 0.14</code>. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2875";>#2875</a></li>
   <li>Update <code>memoffset</code> dependency to 0.8. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2875";>#2875</a></li>
   </ul>
   <h3>Added</h3>
   <ul>
   <li>Add <code>GILOnceCell::get_or_try_init</code> for fallible 
<code>GILOnceCell</code> initialization. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2398";>#2398</a></li>
   <li>Add experimental feature <code>experimental-inspect</code> with 
<code>type_input()</code> and <code>type_output()</code> helpers to get the 
Python type of any Python-compatible object. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2490";>#2490</a> <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2882";>#2882</a></li>
   <li>The <code>#[pyclass]</code> macro can now take <code>get_all</code> and 
<code>set_all</code> to create getters and setters for every field. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2692";>#2692</a></li>
   <li>Add <code>#[pyo3(signature = (...))]</code> option for 
<code>#[pyfunction]</code> and <code>#[pymethods]</code>. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2702";>#2702</a></li>
   <li><code>pyo3-build-config</code>: rebuild when 
<code>PYO3_ENVIRONMENT_SIGNATURE</code> environment variable value changes. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2727";>#2727</a></li>
   <li>Add conversions between non-zero int types in <code>std::num</code> and 
Python <code>int</code>. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2730";>#2730</a></li>
   <li>Add <code>Py::downcast()</code> as a companion to 
<code>PyAny::downcast()</code>, as well as <code>downcast_unchecked()</code> 
for both types. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2734";>#2734</a></li>
   <li>Add types for all built-in <code>Warning</code> classes as well as 
<code>PyErr::warn_explicit</code>. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2742";>#2742</a></li>
   <li>Add <code>abi3-py311</code> feature. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2776";>#2776</a></li>
   <li>Add FFI definition <code>_PyErr_ChainExceptions()</code> for CPython. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2788";>#2788</a></li>
   <li>Add FFI definitions <code>PyVectorcall_NARGS</code> and 
<code>PY_VECTORCALL_ARGUMENTS_OFFSET</code> for PyPy 3.8 and up. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2811";>#2811</a></li>
   <li>Add <code>PyList::get_item_unchecked</code> for PyPy. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2827";>#2827</a></li>
   </ul>
   <h3>Changed</h3>
   <ul>
   <li>PyO3's macros now emit a much nicer error message if function return 
values don't implement the required trait(s). <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2664";>#2664</a></li>
   <li>Use a TypeError, rather than a ValueError, when refusing to treat a str 
as a Vec. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2685";>#2685</a></li>
   <li>Change <code>PyCFunction::new_closure</code> to take <code>name</code> 
and <code>doc</code> arguments. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2686";>#2686</a></li>
   <li><code>PyType::is_subclass</code>, <code>PyErr::is_instance</code> and 
<code>PyAny::is_instance</code> now take <code>&amp;PyAny</code> instead of 
<code>&amp;PyType</code> arguments, so that they work with objects that pretend 
to be types using <code>__subclasscheck__</code> and 
<code>__instancecheck__</code>. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2695";>#2695</a></li>
   <li>Deprecate <code>#[args]</code> attribute and passing &quot;args&quot; 
specification directly to <code>#[pyfunction]</code> in favor of the new 
<code>#[pyo3(signature = (...))]</code> option. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2702";>#2702</a></li>
   <li>Deprecate required arguments after <code>Option&lt;T&gt;</code> 
arguments to <code>#[pyfunction]</code> and <code>#[pymethods]</code> without 
also using <code>#[pyo3(signature)]</code> to specify whether the arguments 
should be required or have defaults. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2703";>#2703</a></li>
   <li>Change <code>#[pyfunction]</code> and <code>#[pymethods]</code> to use a 
common call &quot;trampoline&quot; to slightly reduce generated code size and 
compile times. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2705";>#2705</a></li>
   <li><code>PyAny::cast_as()</code> and <code>Py::cast_as()</code> are now 
deprecated in favor of <code>PyAny::downcast()</code> and the new 
<code>Py::downcast()</code>. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2734";>#2734</a></li>
   <li>Relax lifetime bounds on <code>PyAny::downcast()</code>. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2734";>#2734</a></li>
   <li>Automatically generate <code>__text_signature__</code> for all Python 
functions created using <code>#[pyfunction]</code> and 
<code>#[pymethods]</code>. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2784";>#2784</a></li>
   <li>Accept any iterator in <code>PySet::new</code> and 
<code>PyFrozenSet::new</code>. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2795";>#2795</a></li>
   <li>Mixing <code>#[cfg(...)]</code> and <code>#[pyo3(...)]</code> attributes 
on <code>#[pyclass]</code> struct fields will now work. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2796";>#2796</a></li>
   <li>Re-enable <code>PyFunction</code> on when building for abi3 or PyPy. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2838";>#2838</a></li>
   <li>Improve <code>derive(FromPyObject)</code> to use <code>intern!</code> 
when applicable for <code>#[pyo3(item)]</code>. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2838";>#2838</a></li>
   </ul>
   <h3>Removed</h3>
   <ul>
   <li>Remove the deprecated <code>pyproto</code> feature, 
<code>#[pyproto]</code> macro, and all accompanying APIs. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2587";>#2587</a></li>
   <li>Remove all functionality deprecated in PyO3 0.16. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2843";>#2843</a></li>
   </ul>
   <h3>Fixed</h3>
   <ul>
   <li>Disable <code>PyModule::filename</code> on PyPy. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2715";>#2715</a></li>
   <li><code>PyCodeObject</code> is now once again defined with fields on 
Python 3.7. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2726";>#2726</a></li>
   <li>Raise a <code>TypeError</code> if <code>#[new]</code> pymethods with no 
arguments receive arguments when called from Python. <a 
href="https://github-redirect.dependabot.com/PyO3/pyo3/pull/2749";>#2749</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/224a4160b440a8f2577aa8eefa6a98886fc6b86f";><code>224a416</code></a>
 release: 0.18.0</li>
   <li><a 
href="https://github.com/PyO3/pyo3/commit/ca1bbe3d39c3152924a55b23bb87189deb102190";><code>ca1bbe3</code></a>
 add migration notes for PyO3 0.18</li>
   <li><a 
href="https://github.com/PyO3/pyo3/commit/72c561ce13240f6e35bfd9ae5c82d2628a1b50f1";><code>72c561c</code></a>
 Merge <a 
href="https://github-redirect.dependabot.com/pyo3/pyo3/issues/2882";>#2882</a></li>
   <li><a 
href="https://github.com/PyO3/pyo3/commit/713f51a7df235fbf25bfcce8079fd64ca2f3c3a9";><code>713f51a</code></a>
 Merge <a 
href="https://github-redirect.dependabot.com/pyo3/pyo3/issues/2879";>#2879</a></li>
   <li><a 
href="https://github.com/PyO3/pyo3/commit/8026f3521e6b1e9877f81283e5da4a7932565a4c";><code>8026f35</code></a>
 Improve derive(FromPyObject) to apply intern! when applicable</li>
   <li><a 
href="https://github.com/PyO3/pyo3/commit/20ca3be659019deddca6c95833b9922d75d4cb87";><code>20ca3be</code></a>
 inspect: gate behind <code>experimental-inspect</code> feature</li>
   <li><a 
href="https://github.com/PyO3/pyo3/commit/556b3cf48ac8b89a63e0378f48681273d074e151";><code>556b3cf</code></a>
 Merge <a 
href="https://github-redirect.dependabot.com/pyo3/pyo3/issues/2703";>#2703</a></li>
   <li><a 
href="https://github.com/PyO3/pyo3/commit/8f48d157d643f1bb17d763d9fe4b8951014ac3d9";><code>8f48d15</code></a>
 deprecate required arguments after option arguments without signature</li>
   <li><a 
href="https://github.com/PyO3/pyo3/commit/ed0f3384d2db45a142eb04865dfb75a383840552";><code>ed0f338</code></a>
 Merge <a 
href="https://github-redirect.dependabot.com/pyo3/pyo3/issues/2875";>#2875</a></li>
   <li><a 
href="https://github.com/PyO3/pyo3/commit/a7a9daed24c761f271d0092bdb50f2ca79aa6004";><code>a7a9dae</code></a>
 Add a changelog entry for 
<code>[#2875](https://github.com/pyo3/pyo3/issues/2875)</code></li>
   <li>Additional commits viewable in <a 
href="https://github.com/pyo3/pyo3/compare/v0.17.0...v0.18.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