You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore(deps-dev): bump the dev group with 2 updates - #500
We've just uploaded mypy 2.4.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. You can install it as follows:
python3 -m pip install -U mypy
You can read the full documentation for this release on Read the Docs.
Python 3.15 Support
Mypy 2.4 supports running on Python 3.15 and type checking most Python
3.15 features. This includes the new builtin sentinel type for
sentinel values (PEP 661), which mypy now supports (see below for
details). Lazy imports (PEP 810) and unpacking in comprehensions
(PEP 798) are also supported. Closed TypedDicts (PEP 728) have been
supported since mypy 2.2, but the extra_items TypedDict argument,
also introduced in PEP 728, is still unsupported. Support for
extra_items will be added in a future mypy release.
Native Parser Enabled by Default
Mypy now uses the new native parser by default. It's based on the Ruff
parser, and it's significantly faster than the legacy parser, which
uses the stdlib ast module. The native parser also has other
benefits:
You can target newer Python versions and use recent Python syntax
even when running mypy on an older Python version. For example, you
can use --python-version 3.15 when running mypy on Python 3.14.
Stub files can use syntax that is newer than the target Python
version. For example, stubs can use the PEP 695 generic class syntax
(class Box[T]: ...) when running on or targeting Python 3.10.
Parallel type checking requires the native parser.
The legacy parser is still available through --no-native-parser, or
native_parser = False in the config file (native_parser = false
under [tool.mypy] in pyproject.toml). We are planning to remove the
legacy parser in early 2027. If you run into a problem with the native
parser, please report it on the
issue tracker.
Unlike the legacy parser, the native parser doesn't support type
comments for variables defined by for and with statements. These
type comments are silently ignored, and the types of the variables are
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 commands and options
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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
@dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
@dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
@dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
@dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
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
dependenciesPull requests that update a dependency filepython:uvPull requests that update python:uv code
1 participant
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.
Bumps the dev group with 2 updates: mypy and ruff.
Updates
mypyfrom 2.3.1 to 2.4.0Changelog
Sourced from mypy's changelog.
... (truncated)
Commits
935ba8aBump version to 2.4.0334a678Add link for PR 22066 in mypy 2.4 changelog (#22082)fe69660Finalize mypy 2.4 changelog (#22080)541fd87Various mypy 2.4 changelog updates (#22077)b231182Update native parser docs (#22078)04fe42cInitial Changelog for Mypy 2.4 (#22071)0617494Quick fix for non UTF-8 encodings with new parser (#22066)b2f9b60Bump librt to 0.16.0 (#22067)9d798dcSync typeshed (#22054)0861bb6Reduce max protocol stack size to 20 (#22053)Updates
rufffrom 0.16.9 to 0.16.10Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
Commits
3265ed1Bump version to 0.16.10 (#29055)e786964Authorize shared PR security-review workflow to publish findings (#29052)a81291e[ty] Defer uv workspace discovery until after project configuration (#28525)b6a74d2[ty] Refresh uv project metadata when uv files change (#28529)41d30dfUpdate Rust toolchain to 1.99 and MSRV to 1.97 (#29047)317e0a3[ty] Bound nested callable signature display (#29049)8546752[ty] Fix member lookup on union-bounded type variables (#29018)56180bc[ty] Specialize instance members once (#29043)aa9a1ff[ty] Avoid stale I/O diagnostics when closing deleted files (#28988)2d25346[ty] Improveunresolved-importdocumentation (#29039)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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions