Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Oct 17, 2022

Bumps pytype from 2021.10.18 to 2022.10.13.

Changelog

Sourced from pytype's changelog.

Version 2022.10.13:

Updates:

  • Add a flag, --mapping-is-not-sequence, to forbid matching mappings against the Sequence protocol.
  • Add a library for serializing the CFG.
  • Fully support pattern matching in 3.10, aside from exhaustiveness checks.
  • Make some performance improvements around type-checking of function call arguments for functions defined in the same file.

Bug fixes:

  • Store more information in matcher._recursive_annots_cache.
  • Fix "appears only once" TypeVar error on overloads in generic classes.
  • Do not let a kwarg in **args interfere with a posonly arg of the same name.
  • Re-resolve LateType instances that resolve to another LateType.

Version 2022.09.27:

Updates:

  • Slightly improve pytype's numpy stub.
  • Remove --overriding-parameter-type-checks flag that is now enabled by default.
  • Add partial support for pattern matching.
  • Add Attrs protocol and __attrs_attrs__ member to attr overlay.

Bug fixes:

  • Fix infinite recursion caused by annotated new methods.
  • Take nested classes into account when re-resolving dependencies in load_pytd.
  • Support empty generic protocols.
  • Correct type annotations for IO objects: seek and truncate.
  • Define new instead of init for np.ndarray.

Version 2022.09.19:

Updates:

  • Rework arg parsing to make using pytype as a library in tools easier.
  • Move typegraph and cfg graph visualisation to a separate frontend binary.
  • Add a feature flag, --always-use-return-annotations, to always use return type annotations when analyzing function calls.
  • Default --overriding-parameter-type-checks to True. This flag will be removed in an upcoming release.

Bug fixes:

  • Add an OrderedCode object to LOAD_FOLDED_CONST.
  • Treat LiteralString as str in pyi files.
  • xref:
    • Replace record into package kind and add childof edge from file.
    • Do not add a defines/binding edge for a.x = ... if a is not self.

Version 2022.09.08:

... (truncated)

Commits
  • 0c74980 Merge pull request #1303 from google/google_sync
  • 77e2633 Prepare a PyPI release.
  • 7cd7961 Handle 'self' matches better in matcher.compute_matches.
  • fd21934 Merge pull request #1302 from google/google_sync
  • fcd36b7 Re-resolve LateType instances that resolve to another LateType.
  • 77cb5d6 Deduplicate argument data in function.Args.simplify.
  • 990e06d Fix an incorrect type annotation in vm.py.
  • d41a671 Do not let a kwarg in **args interfere with a posonly arg of the same name.
  • fdb687c Inline abstract_utils.func_name_is_class_init.
  • 3e75b86 Add Binding.id to the Python CFG.
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)

Bumps [pytype](https://github.com/google/pytype) from 2021.10.18 to 2022.10.13.
- [Release notes](https://github.com/google/pytype/releases)
- [Changelog](https://github.com/google/pytype/blob/main/CHANGELOG)
- [Commits](google/pytype@2021.10.18...2022.10.13)

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

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 Oct 17, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Oct 31, 2022

Superseded by #120.

@dependabot dependabot bot closed this Oct 31, 2022
@dependabot dependabot bot deleted the dependabot/pip/pytype-2022.10.13 branch October 31, 2022 14:07
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.

1 participant