Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build(deps-dev): bump pytype from 2024.4.11 to 2024.10.11 #553

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 14, 2024

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.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 compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [pytype](https://github.com/google/pytype) from 2024.4.11 to 2024.10.11.
- [Changelog](https://github.com/google/pytype/blob/main/CHANGELOG)
- [Commits](google/pytype@2024.04.11...2024.10.11)

---
updated-dependencies:
- dependency-name: pytype
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 14, 2024
Copy link

codeclimate bot commented Oct 14, 2024

Code Climate has analyzed commit f48037c and detected 0 issues on this pull request.

View more on Code Climate.

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants