You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2024/07/22 02:10:07 UTC

[PR] chore(deps-dev): bump mypy from 1.10.0 to 1.11.0 in /streampipes-client-python

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

   Bumps [mypy](https://github.com/python/mypy) from 1.10.0 to 1.11.0.
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a href="https://github.com/python/mypy/blob/master/CHANGELOG.md">mypy's changelog</a>.</em></p>
   <blockquote>
   <h1>Mypy Release Notes</h1>
   <h2>Next release</h2>
   <h2>Mypy 1.11</h2>
   <p>We’ve just uploaded mypy 1.11 to the Python Package Index (<a href="https://pypi.org/project/mypy/">PyPI</a>). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:</p>
   <pre><code>python3 -m pip install -U mypy
   </code></pre>
   <p>You can read the full documentation for this release on <a href="http://mypy.readthedocs.io">Read the Docs</a>.</p>
   <h4>Support Python 3.12 Syntax for Generics (PEP 695)</h4>
   <p>Mypy now supports the new type parameter syntax introduced in Python 3.12 (<a href="https://peps.python.org/pep-0695/">PEP 695</a>).
   This feature is still experimental and must be enabled with the <code>--enable-incomplete-feature=NewGenericSyntax</code> flag, or with <code>enable_incomplete_feature = NewGenericSyntax</code> in the mypy configuration file.
   We plan to enable this by default in the next mypy feature release.</p>
   <p>This example demonstrates the new syntax:</p>
   <pre lang="python"><code># Generic function
   def f[T](https://github.com/python/mypy/blob/master/x: T) -&gt; T: ...
   <p>reveal_type(f(1))  # Revealed type is 'int'</p>
   <h1>Generic class</h1>
   <p>class C[T]:
   def <strong>init</strong>(self, x: T) -&gt; None:
   self.x = x</p>
   <p>c = C('a')
   reveal_type(c.x)  # Revealed type is 'str'</p>
   <h1>Type alias</h1>
   <p>type A[T] = C[list[T]]
   </code></pre></p>
   <p>This feature was contributed by Jukka Lehtosalo.</p>
   <h4>Support for <code>functools.partial</code></h4>
   <p>Mypy now type checks uses of <code>functools.partial</code>. Previously mypy would accept arbitrary arguments.</p>
   <p>This example will now produce an error:</p>
   <pre lang="python"><code>from functools import partial
   &lt;/tr&gt;&lt;/table&gt; 
   </code></pre>
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/python/mypy/commit/dbd5f5cdb62b4dcd1e498c3a91c204b812609fdf"><code>dbd5f5c</code></a> Remove +dev from version for 1.11 release</li>
   <li><a href="https://github.com/python/mypy/commit/f0a8c6931485364d918f7b4920e5f2832a6be22f"><code>f0a8c69</code></a> Update CHANGELOG for mypy 1.11 (<a href="https://redirect.github.com/python/mypy/issues/17540">#17540</a>)</li>
   <li><a href="https://github.com/python/mypy/commit/371f7801e9bff13803a228e6cc8dd4cee6c8e472"><code>371f780</code></a> CHANGELOG.md update for 1.11 (<a href="https://redirect.github.com/python/mypy/issues/17539">#17539</a>)</li>
   <li><a href="https://github.com/python/mypy/commit/2563da0c721a89725bfd009da12dd6378554bfc6"><code>2563da0</code></a> Fix daemon crash on invalid type in TypedDict (<a href="https://redirect.github.com/python/mypy/issues/17495">#17495</a>)</li>
   <li><a href="https://github.com/python/mypy/commit/d8c67c36d6ecf964dd283de3acffc59d80c8b1fd"><code>d8c67c3</code></a> [release 1.11] Ignore some errors in typeshed (<a href="https://redirect.github.com/python/mypy/issues/17510">#17510</a>)</li>
   <li><a href="https://github.com/python/mypy/commit/294daffc12ad6f3b02e023bbfb97b6ded58964ff"><code>294daff</code></a> Mention --enable-incomplete-feature=NewGenericSyntax (<a href="https://redirect.github.com/python/mypy/issues/17462">#17462</a>)</li>
   <li><a href="https://github.com/python/mypy/commit/5c33abf1c2cf6b765529bd70b41d5aa98da08e38"><code>5c33abf</code></a> Further improvements to functools.partial handling (<a href="https://redirect.github.com/python/mypy/issues/17425">#17425</a>)</li>
   <li><a href="https://github.com/python/mypy/commit/c37d972f8abe0b2a46dbf7bab0898cd2afe6f69c"><code>c37d972</code></a> Fix type comments crash inside generic definitions (<a href="https://redirect.github.com/python/mypy/issues/16849">#16849</a>)</li>
   <li><a href="https://github.com/python/mypy/commit/d39f0234a18762a9b261a28763c7bea706633ce7"><code>d39f023</code></a> Add changelog entry for 1.10.1 (<a href="https://redirect.github.com/python/mypy/issues/17436">#17436</a>)</li>
   <li><a href="https://github.com/python/mypy/commit/6c1d8671ce6eaf2c955fa986cbad51d6e6726d5d"><code>6c1d867</code></a> Fix ParamSpec inference against TypeVarTuple (<a href="https://redirect.github.com/python/mypy/issues/17431">#17431</a>)</li>
   <li>Additional commits viewable in <a href="https://github.com/python/mypy/compare/v1.10.0...v1.11">compare view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mypy&package-manager=pip&previous-version=1.10.0&new-version=1.11.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 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: commits-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] chore(deps-dev): bump mypy from 1.10.0 to 1.11.0 in /streampipes-client-python

Posted by "tenthe (via GitHub)" <gi...@apache.org>.
tenthe merged PR #3057:
URL: https://github.com/apache/streampipes/pull/3057


-- 
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: dev-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org