Skip to content

Update pytype requirement from >=2022.11.29 to >=2024.10.11 in /salvo#436

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/salvo/pytype-gte-2024.10.11
Open

Update pytype requirement from >=2022.11.29 to >=2024.10.11 in /salvo#436
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/salvo/pytype-gte-2024.10.11

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 27, 2026

Updates the requirements on pytype to permit the latest version.

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.11
  • b78f7e5 Fix resolution of ParamSpec in circular dependencies
  • 65ad8fb Remove Never annotations when merging pyi files.
  • a370f22 Update the 'main' target
  • a6a40ed Print generic builtin names as lowercase
  • 60706eb No public description
  • 3e39a5c No public description
  • 51baecc Make assert_type more resilient with a string argument
  • a01851f No public description
  • ba64a74 Add a comment about collections.abc vs typing
  • 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 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)

Updates the requirements on [pytype](https://github.com/google/pytype) to permit the latest version.
- [Changelog](https://github.com/google/pytype/blob/main/CHANGELOG)
- [Commits](google/pytype@2022.11.29...2024.10.11)

---
updated-dependencies:
- dependency-name: pytype
  dependency-version: 2024.10.11
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Apr 27, 2026
@github-actions
Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@github-actions github-actions Bot added the stale label May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants