From a9aef5ec4e44908339e1b82e13ce2459ad50d87e Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sat, 9 May 2026 15:23:09 +0000
Subject: [PATCH 1/2] Bump mypy from 1.20.2 to 2.0.0 (#12479)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps [mypy](https://github.com/python/mypy) from 1.20.2 to 2.0.0.
Sourced from mypy's
changelog. We’ve just uploaded mypy 2.0.0 to the Python Package Index (PyPI).
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: You can read the full documentation for this release on Read the Docs. 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. Contributed by Ivan Levkivskyi, Jukka Lehtosalo, Shantanu in PR
21163. Per PEP 688, mypy no
longer treats Contributed by Shantanu in PR
18371. The 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
...
Changelog
Mypy Release Notes
Next Release
Mypy 2.0
python3 -m pip install -U mypy
Enable
--local-partial-types by DefaultEnable
--strict-bytes by Defaultbytearray and memoryview
values as assignable to the bytes type.New Behavior for
--allow-redefinition--allow-redefinition flag now behaves like
--allow-redefinition-new 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:# mypy: allow-redefinition
... (truncated)
7a76500
Remove +dev from version5a3ab3b
Changelog for mypy 2.0 (#21422)f9c86e2
Some changelog updates for 2.0 (#21413)519eaf1
Bump librt to 0.10.0 (#21415)158a620
Fix negative narrowing for containers (#21411)e556eb9
Try fixing mypy mypyc wheels (#21392)f2c9797
Expose --num-workers and --native-parser (#21387)db0cb2f
Bump ast-serialize cache version (#21388)1090ca6
Bump ast-serialize version to 0.3.0 only (#21391)714ca9f
[mypyc] Add note about librt.strings thread safety (#21383)Sourced from markdown-it-py's releases.
v4.2.0
What's Changed
- ✨ Add
make_fence_rule()factory for configurable fence markers by@chrisjsewellin executablebooks/markdown-it-py#394- 🚀 RELEASE v4.2.0 by
@chrisjsewellin executablebooks/markdown-it-py#395Full Changelog: https://github.com/executablebooks/markdown-it-py/compare/v4.1.0...v4.2.0
Sourced from markdown-it-py's changelog.
4.2.0 - 2026-05-07
- ✨ Add
make_fence_rule()factory for configurable fence markers in #394
36c5f54
🚀 RELEASE v4.2.0 (#395)96cf077
✨ Add make_fence_rule() factory for configurable fence
markers (#394)