mmpy_bot
mmpy_bot copied to clipboard
Build(deps-dev): bump pytype from 2024.4.11 to 2024.10.11
Bumps pytype from 2024.4.11 to 2024.10.11.
Changelog
Sourced from pytype's changelog.
Version 2024.10.11:
Updates:
Drop support for Python 3.8 and 3.9.
Make merge_pyi not to overwrite existing type annotations.
When printing types (e.g. in error messages or
reveal_type
), print generic builtin names in lowercase.Old:
from typing import List; List[Foo]
New:list[Foo]
Bug fixes:
- Unpin dependency on networkx, which means pytype now supports >=3.3.
- Emit all unused/duplicate files with --unused_imports_info_files option, rather than only one per unique module name.
- Change return types of AsyncGenerator's methods to coroutines. This brings pytype's definition in line with the definition on typeshed and reflects the fact that asynchronous generators defined using the
async def
/yield
syntax have methods returning coroutines rather than just arbitrary awaitables.- Fix type guards propagating invisibile bindings. Fixes some incorrect "used after deleted" errors with Python 3.12.
- Fix resolution of ParamSpec in files with circular imports.
Version 2024.09.13:
Updates:
Basic support for Python 3.12.
With this release you can run pytype with Python 3.12. But pytype has no support for any new features added in Python 3.12.
Look out for type checking changes caused by different bytecode emit:
- dict/list/set comprehensions are type checked 1 level deeper.
- Errors after
if
statements can be printed differently.Add support for pickled pyi files in merge_pyi.py.
Several performance improvements.
Stop validating imports map. Pytype used to validate that each file in an import map exists. This has proved too costly, especially on network file systems. Pytype now assumes import maps specified via --imports_info are correct.
Add support for flag files (required for Bazel workers).
Change the format of errors printed to the console.
... (truncated)
Commits
ecdf41f
Prepare for version 2024.10.11b78f7e5
Fix resolution of ParamSpec in circular dependencies65ad8fb
RemoveNever
annotations when merging pyi files.a370f22
Update the 'main' targeta6a40ed
Print generic builtin names as lowercase60706eb
No public description3e39a5c
No public description51baecc
Makeassert_type
more resilient with a string argumenta01851f
No public descriptionba64a74
Add a comment aboutcollections.abc
vstyping
- Additional commits viewable in compare view
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 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)