Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 25, 2021

Bumps pytype from 2021.11.18 to 2021.11.24.

Changelog

Sourced from pytype's changelog.

Version 2021.11.24:

New features and updates:

  • Update typeshed pin to commit 7cc5eb2 from Aug 8.
  • Remove pytype's ability to accept python_version=3.
  • Rename pytype "master" branch to "main".
  • Remove the --gen-stub-imports flag. This was a no-op as of version 2021.11.18.
  • Look up local names in nested class scopes when importing pyi files.
  • Consistently use "base" instead of "parent" to refer to base classes. This changes the pickled representation of pytd.Class.

Bug fixes:

  • Check for multiple module-level __getattr__ overloads.
  • Raise a not supported error for constructors in type annotations in pyi files.
  • Fix a [not-instantiable] false positive.
  • Add a feature flag, --fix-module-collisions, to fix a 'duplicate top-level identifier' pyi issue.
  • Don't enforce @​abstractmethod and @​coroutine consistency on properties.

Version 2021.11.18:

New features and updates:

  • Enable --gen-stub-imports by default and make the flag a no-op. It will be removed in the next release.
  • Pass more precise argument types to contextmanager exit methods.
  • Add a helpful error message for use-after-delete.

Bug fixes:

  • Recognize "/dev/null" as a package path in load_pytd.
  • Remove references to the __builtin__ module.
  • Allow disables for invalid calls in 3.9 to be put on the same lines as in 3.7.

Version 2021.11.12:

New features and updates:

  • Use the official pyi files from attrs.
  • Report a type error when comparing types (e.g. int > str) and when calling an overloaded comparison method like gt fails.
  • Ship Linux AArch64 wheels.

Bug fixes:

  • Use a homogeneous tuple as a pytd node sort key.
  • Fix crash in pytd.Lookup caused by ClassType with unfilled cls pointer.
  • Fix a pytd printer bug that was causing us to print 'Optional[import ...]'.
  • Fix a pytype bug in matching Literal against Literal.
  • Fix a bug in which classmethods weren't detected as protocol members.
  • --use-enum-overlay:
    • Only add __new__ to an enum if it has members to lookup.
    • Skip potential enum members that are functions or have dunder names.
    • Teach the enum overlay what a descriptor is.

... (truncated)

Commits
  • 1e48e20 Merge pull request #1065 from google/google_sync
  • 61b4dcc Prepare a PyPI release.
  • 7a2e6aa Put 'duplicate top-level identifier' fix behind a feature flag.
  • 243ae66 Don't enforce @​abstractmethod and @​coroutine consistency on properties.
  • e3dcd51 Fix a crash caused by SimpleValue not implementing instantiate().
  • 30d84c3 Fix a 'duplicate top-level identifier' pyi issue.
  • bf718ab Merge pull request #1064 from google/ts
  • 54c7a39 Update typeshed to 7cc5eb29506992bad1e2c0948b847d349b7438e0.
  • b3e9e2b Merge pull request #1063 from google/google_sync
  • 69b43a9 Split out abstract.BaseValue into its own file.
  • 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)

@dependabot dependabot bot added dependencies python Pull requests that update Python code labels Nov 25, 2021
@codecov
Copy link

codecov bot commented Nov 25, 2021

Codecov Report

Merging #8419 (ebf67c0) into development (1cbcc68) will not change coverage.
The diff coverage is n/a.

❗ Current head ebf67c0 differs from pull request most recent head 5acbfc1. Consider uploading reports for the commit 5acbfc1 to get more accurate results
Impacted file tree graph

@@             Coverage Diff              @@
##           development    #8419   +/-   ##
============================================
  Coverage        65.63%   65.63%           
============================================
  Files              306      306           
  Lines            15935    15935           
============================================
  Hits             10459    10459           
  Misses            5476     5476           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1cbcc68...5acbfc1. Read the comment docs.

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

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/pytype-2021.11.24 branch from ebf67c0 to 5acbfc1 Compare November 27, 2021 20:24
@mariobehling mariobehling merged commit 7ca377d into development Nov 28, 2021
@mariobehling mariobehling deleted the dependabot/pip/pytype-2021.11.24 branch November 28, 2021 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants