dependabot[bot] opened a new pull request, #7962:
URL: https://github.com/apache/iceberg/pull/7962

   Bumps [typing-extensions](https://github.com/python/typing_extensions) from 
4.6.3 to 4.7.0.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a 
href="https://github.com/python/typing_extensions/releases";>typing-extensions's 
releases</a>.</em></p>
   <blockquote>
   <h2>4.7.0</h2>
   <p>This is a feature release. Major changes include:</p>
   <ul>
   <li>All non-deprecated names from <code>typing</code> are now re-exported by 
<code>typing_extensions</code> for convenience</li>
   <li>Add <code>typing_extensions.get_protocol_members</code> and 
<code>typing_extensions.is_protocol</code></li>
   <li>Declare support for Python 3.12</li>
   <li>This will be the last feature release to support Python 3.7, which 
recently reached its end-of-life</li>
   </ul>
   <p>Full changelog of versions 4.7.0 and 4.7.0rc1:</p>
   <h1>Release 4.7.0 (June 28, 2023)</h1>
   <ul>
   <li>This is expected to be the last feature release supporting Python 3.7,
   which reaches its end of life on June 27, 2023. Version 4.8.0 will support
   only Python 3.8.0 and up.</li>
   <li>Fix bug where a <code>typing_extensions.Protocol</code> class that had 
one or more
   non-callable members would raise <code>TypeError</code> when 
<code>issubclass()</code>
   was called against it, even if it defined a custom 
<code>__subclasshook__</code>
   method. The correct behaviour -- which has now been restored -- is not to
   raise <code>TypeError</code> in these situations if a custom 
<code>__subclasshook__</code> method
   is defined. Patch by Alex Waygood (backporting
   <a 
href="https://redirect.github.com/python/cpython/pull/105976";>python/cpython#105976</a>).</li>
   </ul>
   <h1>Release 4.7.0rc1 (June 21, 2023)</h1>
   <ul>
   <li>Add <code>typing_extensions.get_protocol_members</code> and
   <code>typing_extensions.is_protocol</code> (backport of CPython PR <a 
href="https://redirect.github.com/python/typing_extensions/issues/104878";>#104878</a>).
   Patch by Jelle Zijlstra.</li>
   <li><code>typing_extensions</code> now re-exports all names in the standard 
library's
   <code>typing</code> module, except the deprecated <code>ByteString</code>. 
Patch by Jelle
   Zijlstra.</li>
   <li>Due to changes in the implementation of 
<code>typing_extensions.Protocol</code>,
   <code>typing.runtime_checkable</code> can now be used on 
<code>typing_extensions.Protocol</code>
   (previously, users had to use 
<code>typing_extensions.runtime_checkable</code> if they
   were using <code>typing_extensions.Protocol</code>).</li>
   <li>Align the implementation of <code>TypedDict</code> with the 
implementation in the
   standard library on Python 3.9 and higher.
   <code>typing_extensions.TypedDict</code> is now a function instead of a 
class. The
   private functions <code>_check_fails</code>, <code>_dict_new</code>, and 
<code>_typeddict_new</code>
   have been removed. <code>is_typeddict</code> now returns <code>False</code> 
when called with
   <code>TypedDict</code> itself as the argument. Patch by Jelle Zijlstra.</li>
   <li>Declare support for Python 3.12. Patch by Jelle Zijlstra.</li>
   <li>Fix tests on Python 3.13, which removes support for creating
   <code>TypedDict</code> classes through the keyword-argument syntax. Patch by
   Jelle Zijlstra.</li>
   <li>Fix a regression introduced in v4.6.3 that meant that
   <code>issubclass(object, typing_extensions.Protocol)</code> would 
erroneously raise
   <code>TypeError</code>. Patch by Alex Waygood (backporting the CPython PR
   <a 
href="https://redirect.github.com/python/cpython/pull/105239";>python/cpython#105239</a>).</li>
   <li>Allow <code>Protocol</code> classes to inherit from 
<code>typing_extensions.Buffer</code> or</li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a 
href="https://github.com/python/typing_extensions/blob/main/CHANGELOG.md";>typing-extensions's
 changelog</a>.</em></p>
   <blockquote>
   <h1>Release 4.7.0 (June 28, 2023)</h1>
   <ul>
   <li>This is expected to be the last feature release supporting Python 3.7,
   which reaches its end of life on June 27, 2023. Version 4.8.0 will support
   only Python 3.8.0 and up.</li>
   <li>Fix bug where a <code>typing_extensions.Protocol</code> class that had 
one or more
   non-callable members would raise <code>TypeError</code> when 
<code>issubclass()</code>
   was called against it, even if it defined a custom 
<code>__subclasshook__</code>
   method. The correct behaviour -- which has now been restored -- is not to
   raise <code>TypeError</code> in these situations if a custom 
<code>__subclasshook__</code> method
   is defined. Patch by Alex Waygood (backporting
   <a 
href="https://redirect.github.com/python/cpython/pull/105976";>python/cpython#105976</a>).</li>
   </ul>
   <h1>Release 4.7.0rc1 (June 21, 2023)</h1>
   <ul>
   <li>Add <code>typing_extensions.get_protocol_members</code> and
   <code>typing_extensions.is_protocol</code> (backport of CPython PR <a 
href="https://redirect.github.com/python/typing_extensions/issues/104878";>#104878</a>).
   Patch by Jelle Zijlstra.</li>
   <li><code>typing_extensions</code> now re-exports all names in the standard 
library's
   <code>typing</code> module, except the deprecated <code>ByteString</code>. 
Patch by Jelle
   Zijlstra.</li>
   <li>Due to changes in the implementation of 
<code>typing_extensions.Protocol</code>,
   <code>typing.runtime_checkable</code> can now be used on 
<code>typing_extensions.Protocol</code>
   (previously, users had to use 
<code>typing_extensions.runtime_checkable</code> if they
   were using <code>typing_extensions.Protocol</code>).</li>
   <li>Align the implementation of <code>TypedDict</code> with the 
implementation in the
   standard library on Python 3.9 and higher.
   <code>typing_extensions.TypedDict</code> is now a function instead of a 
class. The
   private functions <code>_check_fails</code>, <code>_dict_new</code>, and 
<code>_typeddict_new</code>
   have been removed. <code>is_typeddict</code> now returns <code>False</code> 
when called with
   <code>TypedDict</code> itself as the argument. Patch by Jelle Zijlstra.</li>
   <li>Declare support for Python 3.12. Patch by Jelle Zijlstra.</li>
   <li>Fix tests on Python 3.13, which removes support for creating
   <code>TypedDict</code> classes through the keyword-argument syntax. Patch by
   Jelle Zijlstra.</li>
   <li>Fix a regression introduced in v4.6.3 that meant that
   <code>issubclass(object, typing_extensions.Protocol)</code> would 
erroneously raise
   <code>TypeError</code>. Patch by Alex Waygood (backporting the CPython PR
   <a 
href="https://redirect.github.com/python/cpython/pull/105239";>python/cpython#105239</a>).</li>
   <li>Allow <code>Protocol</code> classes to inherit from 
<code>typing_extensions.Buffer</code> or
   <code>collections.abc.Buffer</code>. Patch by Alex Waygood (backporting
   <a 
href="https://redirect.github.com/python/cpython/pull/104827";>python/cpython#104827</a>,
 by Jelle Zijlstra).</li>
   <li>Allow classes to inherit from both <code>typing.Protocol</code> and 
<code>typing_extensions.Protocol</code>
   simultaneously. Since v4.6.0, this caused <code>TypeError</code> to be 
raised due to a
   metaclass conflict. Patch by Alex Waygood.</li>
   <li>Backport several deprecations from CPython relating to unusual ways to
   create <code>TypedDict</code>s and <code>NamedTuple</code>s. CPython PRs <a 
href="https://redirect.github.com/python/typing_extensions/issues/105609";>#105609</a>
 and <a 
href="https://redirect.github.com/python/typing_extensions/issues/105780";>#105780</a>
   by Alex Waygood; <code>typing_extensions</code> backport by Jelle Zijlstra.
   <ul>
   <li>Creating a <code>NamedTuple</code> using the functional syntax with 
keyword arguments
   (<code>NT = NamedTuple(&quot;NT&quot;, a=int)</code>) is now deprecated.</li>
   </ul>
   </li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/python/typing_extensions/commit/633d2e2942372848d8d7859cf71a569259dba9ee";><code>633d2e2</code></a>
 4.7.0 final (<a 
href="https://redirect.github.com/python/typing_extensions/issues/255";>#255</a>)</li>
   <li><a 
href="https://github.com/python/typing_extensions/commit/3193f90d18e50a19725ed47bb8fe586c234b9449";><code>3193f90</code></a>
 CHANGELOG: Mention expected end of 3.7 support (<a 
href="https://redirect.github.com/python/typing_extensions/issues/253";>#253</a>)</li>
   <li><a 
href="https://github.com/python/typing_extensions/commit/e65b036661eb472a3682eca1ceb78eb57b21d200";><code>e65b036</code></a>
 Backport CPython PR 105976 (<a 
href="https://redirect.github.com/python/typing_extensions/issues/252";>#252</a>)</li>
   <li><a 
href="https://github.com/python/typing_extensions/commit/e703629a339a670b44a3612f87bfa90a49c794f0";><code>e703629</code></a>
 README improvements (<a 
href="https://redirect.github.com/python/typing_extensions/issues/250";>#250</a>)</li>
   <li><a 
href="https://github.com/python/typing_extensions/commit/a65658fcbc0a86e529e1c46a4eaa5fee4f150607";><code>a65658f</code></a>
 Update CONTRIBUTING.md (<a 
href="https://redirect.github.com/python/typing_extensions/issues/249";>#249</a>)</li>
   <li><a 
href="https://github.com/python/typing_extensions/commit/e69eea0043237af911353a44bfa50d94821f2af5";><code>e69eea0</code></a>
 Release 4.7.0rc1 (<a 
href="https://redirect.github.com/python/typing_extensions/issues/248";>#248</a>)</li>
   <li><a 
href="https://github.com/python/typing_extensions/commit/cfd49f81b6adf2246b8b3e3f4d3933d19f8e3546";><code>cfd49f8</code></a>
 Document that <code>typing_extensions.Protocol</code> and 
<code>typing.Protocol</code> don't always...</li>
   <li><a 
href="https://github.com/python/typing_extensions/commit/fd1f8538dfc79e11ae9b46af96397a60c680e24c";><code>fd1f853</code></a>
 Add a few more tests for interactions between <code>typing.Protocol</code> and 
`typing_e...</li>
   <li><a 
href="https://github.com/python/typing_extensions/commit/af89916a21b0b720b413e5618dd119f55c53f7b7";><code>af89916</code></a>
 Fix edge-case <code>Protocol</code> bug on Python 3.7 (<a 
href="https://redirect.github.com/python/typing_extensions/issues/242";>#242</a>)</li>
   <li><a 
href="https://github.com/python/typing_extensions/commit/bc9ce4f9a4e1f38f85fab58328e8dd86741dab45";><code>bc9ce4f</code></a>
 Backport NamedTuple and TypedDict deprecations from Python 3.13 (<a 
href="https://redirect.github.com/python/typing_extensions/issues/240";>#240</a>)</li>
   <li>Additional commits viewable in <a 
href="https://github.com/python/typing_extensions/compare/4.6.3...4.7.0";>compare
 view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=typing-extensions&package-manager=pip&previous-version=4.6.3&new-version=4.7.0)](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 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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to