[pull] master from aio-libs:master#558
Merged
Merged
Conversation
Bumps [mypy](https://github.com/python/mypy) from 1.20.2 to 2.0.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 2.0</h2> <p>We’ve just uploaded mypy 2.0.0 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. There are also changes to options and defaults. 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> <h3>Enable <code>--local-partial-types</code> by Default</h3> <p>This flag affects the inference of types based on assignments in other scopes. For now, explicitly disabling this continues to be supported, but this support will be removed in the future as the legacy behaviour is hard to support with other current and future features in mypy, like the daemon or the new implementation of flexible redefinitions.</p> <p>Contributed by Ivan Levkivskyi, Jukka Lehtosalo, Shantanu in <a href="https://redirect.github.com/python/mypy/pull/21163">PR 21163</a>.</p> <h3>Enable <code>--strict-bytes</code> by Default</h3> <p>Per <a href="https://peps.python.org/pep-0688">PEP 688</a>, mypy no longer treats <code>bytearray</code> and <code>memoryview</code> values as assignable to the <code>bytes</code> type.</p> <p>Contributed by Shantanu in <a href="https://redirect.github.com/python/mypy/pull/18371">PR 18371</a>.</p> <h3>New Behavior for <code>--allow-redefinition</code></h3> <p>The <code>--allow-redefinition</code> flag now behaves like <code>--allow-redefinition-new</code> in mypy 1.20 and earlier. The new behavior is generally more flexible. For example, you can have different types for a variable in different blocks:</p> <pre lang="python"><code># mypy: allow-redefinition <p>def foo(cond: bool) -> None: if cond: for x in ["a", "b"]: # Type of "x" is "str" here ... else: for x in [1, 2]: # Type of "x" is "int" here ... </code></pre></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/mypy/commit/7a765008a138ec46c579bfc6ef608860cab36033"><code>7a76500</code></a> Remove +dev from version</li> <li><a href="https://github.com/python/mypy/commit/5a3ab3b29f03d8baafeced3761e1afc8bd58be79"><code>5a3ab3b</code></a> Changelog for mypy 2.0 (<a href="https://redirect.github.com/python/mypy/issues/21422">#21422</a>)</li> <li><a href="https://github.com/python/mypy/commit/f9c86e21e88f96806c65790d604bf1264db39434"><code>f9c86e2</code></a> Some changelog updates for 2.0 (<a href="https://redirect.github.com/python/mypy/issues/21413">#21413</a>)</li> <li><a href="https://github.com/python/mypy/commit/519eaf15e0ceafae30337083577a54c7d3f3b4fe"><code>519eaf1</code></a> Bump librt to 0.10.0 (<a href="https://redirect.github.com/python/mypy/issues/21415">#21415</a>)</li> <li><a href="https://github.com/python/mypy/commit/158a6207d6e221cc403e1d556097b5abf5157cdd"><code>158a620</code></a> Fix negative narrowing for containers (<a href="https://redirect.github.com/python/mypy/issues/21411">#21411</a>)</li> <li><a href="https://github.com/python/mypy/commit/e556eb93a3c551a320a536879ce0a1608d14d490"><code>e556eb9</code></a> Try fixing mypy mypyc wheels (<a href="https://redirect.github.com/python/mypy/issues/21392">#21392</a>)</li> <li><a href="https://github.com/python/mypy/commit/f2c97971f5f4dcd749cf87df1e1308ab5754490a"><code>f2c9797</code></a> Expose --num-workers and --native-parser (<a href="https://redirect.github.com/python/mypy/issues/21387">#21387</a>)</li> <li><a href="https://github.com/python/mypy/commit/db0cb2f7c68b0f9d43d6ee1ab68117c1550dac39"><code>db0cb2f</code></a> Bump ast-serialize cache version (<a href="https://redirect.github.com/python/mypy/issues/21388">#21388</a>)</li> <li><a href="https://github.com/python/mypy/commit/1090ca6d476f629c566250a41204450043a47cf5"><code>1090ca6</code></a> Bump ast-serialize version to 0.3.0 only (<a href="https://redirect.github.com/python/mypy/issues/21391">#21391</a>)</li> <li><a href="https://github.com/python/mypy/commit/714ca9f2ac76e7c6dd56e26fd555f69313ba47ab"><code>714ca9f</code></a> [mypyc] Add note about librt.strings thread safety (<a href="https://redirect.github.com/python/mypy/issues/21383">#21383</a>)</li> <li>Additional commits viewable in <a href="https://github.com/python/mypy/compare/v1.20.2...v2.0.0">compare view</a></li> </ul> </details> <br /> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sam Bull <git@sambull.org>
Bumps [markdown-it-py](https://github.com/executablebooks/markdown-it-py) from 4.1.0 to 4.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/executablebooks/markdown-it-py/releases">markdown-it-py's releases</a>.</em></p> <blockquote> <h2>v4.2.0</h2> <h2>What's Changed</h2> <ul> <li>✨ Add <code>make_fence_rule()</code> factory for configurable fence markers by <a href="https://github.com/chrisjsewell"><code>@chrisjsewell</code></a> in <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/394">executablebooks/markdown-it-py#394</a></li> <li>🚀 RELEASE v4.2.0 by <a href="https://github.com/chrisjsewell"><code>@chrisjsewell</code></a> in <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/395">executablebooks/markdown-it-py#395</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/executablebooks/markdown-it-py/compare/v4.1.0...v4.2.0">https://github.com/executablebooks/markdown-it-py/compare/v4.1.0...v4.2.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/executablebooks/markdown-it-py/blob/master/CHANGELOG.md">markdown-it-py's changelog</a>.</em></p> <blockquote> <h2>4.2.0 - 2026-05-07</h2> <ul> <li>✨ Add <code>make_fence_rule()</code> factory for configurable fence markers in <a href="https://redirect.github.com/executablebooks/markdown-it-py/pull/394">#394</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/executablebooks/markdown-it-py/commit/36c5f547144df2d01970a5792d68c71a3380b227"><code>36c5f54</code></a> 🚀 RELEASE v4.2.0 (<a href="https://redirect.github.com/executablebooks/markdown-it-py/issues/395">#395</a>)</li> <li><a href="https://github.com/executablebooks/markdown-it-py/commit/96cf077ba5a6b3b4b2f862db7e0fc532694a72e9"><code>96cf077</code></a> ✨ Add <code>make_fence_rule()</code> factory for configurable fence markers (<a href="https://redirect.github.com/executablebooks/markdown-it-py/issues/394">#394</a>)</li> <li>See full diff in <a href="https://github.com/executablebooks/markdown-it-py/compare/v4.1.0...v4.2.0">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )