Skip to content

Bump pyright from 1.1.148 to 1.1.149#60

Merged
ITProKyle merged 1 commit intomasterfrom
dependabot/npm_and_yarn/pyright-1.1.149
Jun 15, 2021
Merged

Bump pyright from 1.1.148 to 1.1.149#60
ITProKyle merged 1 commit intomasterfrom
dependabot/npm_and_yarn/pyright-1.1.149

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jun 15, 2021

Bumps pyright from 1.1.148 to 1.1.149.

Release notes

Sourced from pyright's releases.

Published 1.1.149

Bug Fix (from pylance): Fixed crash that can occur when a library is installed in the form of a zip file, and that zip file is malformed.

Bug Fix: Fixed bug that caused false positive error when using a generic type alias as a constructor call.

Enhancement: Added check for illegal use of "async" keyword. The Python interpreter generates a syntax error if it is used outside of an async function.

Enhancement: Tweaked heuristics in constraint solver for dealing with matching of TypeVar T for the type expression Union[T, SomeClass[T]]. There are two valid solutions if the argument is type SomeClass[X], but the "simpler" solution (T = X) should be preferred over the more complex (T = SomeClass[X]).

Bug Fix: Fixed bug in type checker related to the use of a TypeVar or ParamSpec within an inner function when it is already bound to an outer function but used only within that outer function's return type annotation.

Bug Fix: Added error handling for very large source files. This situation is now detected earlier so we don't attempt to load the file contents and crash the language server in the process.

Behavior Change: Added logic to convert Type[A | B] into Type[A] | Type[B], which avoids violating assumptions elsewhere in the type checker.

Enhancement: Updated to the latest version of typeshed, which includes support for ParamSpec in contextlib's contextmanager function.

Bug Fix: Fixed bug in type checker that occurred in some cases when a generic function returned Type[T]. In some cases where an input parameter also had an annotation of Type[T], the "solved" type was wrapped in Type twice (e.g. Type[Type[int]]).

Bug Fix: Fixed bug in type evaluator that occurred when calling a constructor of type Type[T] where T is a constrained TypeVar.

Bug Fix: Fixed bug that resulted in an import being marked as unaccessed if it was accessed within a class declaration but was also redeclared within the class scope.

Commits

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 Pull request that updates a dependency file javascript Pull request that updates Javascript code changelog:patch Patch change resulting in a patch release labels Jun 15, 2021
Bumps [pyright](https://github.com/Microsoft/pyright/tree/HEAD/packages/pyright) from 1.1.148 to 1.1.149.
- [Release notes](https://github.com/Microsoft/pyright/releases)
- [Commits](https://github.com/Microsoft/pyright/commits/1.1.149/packages/pyright)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/pyright-1.1.149 branch from 57ca8d2 to 206613e Compare June 15, 2021 18:32
@ITProKyle ITProKyle removed the changelog:patch Patch change resulting in a patch release label Jun 15, 2021
@ITProKyle ITProKyle merged commit b6cf8c2 into master Jun 15, 2021
@ITProKyle ITProKyle deleted the dependabot/npm_and_yarn/pyright-1.1.149 branch June 15, 2021 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull request that updates a dependency file javascript Pull request that updates Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant