8000 chore(deps-dev): bump pyright from 1.1.398 to 1.1.400 by dependabot[bot] · Pull Request #213 · tekumara/fakesnow · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore(deps-dev): bump pyright from 1.1.398 to 1.1.400 #213

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 pri 8000 vacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 1, 2025

Conversation

dependabot[bot]
Copy link
Contributor
@dependabot dependabot bot commented on behalf of github May 1, 2025

Bumps pyright from 1.1.398 to 1.1.400.

Release notes

Sourced from pyright's releases.

Published 1.1.400

Bug Fixes:

  • Fixed bug that results in a false positive when accessing a generic attribute from an object whose type is type[X].
  • Fixed bug that results in incorrect type narrowing of a variable that is shadowed in an inner-scoped comprehension.
  • Fixed bug that results in a false positive error when referencing a class-scoped type alias defined as a callable.
  • Fixed bug that causes bidirectional type inference not to be used in cases where a ternary expression is assigned to an annotated instance or class variable and the ternary condition narrows the type of self or cls.
  • Fixed bug that results in a spurious "type already specialized" error when using a class-scoped type alias defined using a type statement or TypeAliasType constructor.
  • Fixed a bug that leads to a hang when a generic type alias definition refers to itself.
  • Fixed a bug that results in missing diagnostic details under certain circumstances where bidirectional type inference is attempted in the assignment of an attribute.
  • Fixed a bug that results in a false positive error when calling a function with an unpacked TypedDict with extra_items when additional keyword args are passed.
  • [From pylance] Fixed regression introduced in 1.1.399 that caused pyright CLI to fail to run on Linux systems.

Enhancements:

  • Extended "type(x) is C" type narrowing logic to support cases where C is a union of types or a type variable with a union upper bound.
  • Added support for PEP 765, which makes it a syntax error (or warning) in Python 3.14 if a return, break or continue is used to exit a finally clause.
  • Added check for named tuple field names that begin with an underscore. These result in a runtime exception.

Behavior Change:

  • Reverted a recent change that extended the reportPrivateImportUsage check to enforce imports from submodules whose names begin with an underscore. This change was disruptive to users of the popular pandas library because it exports a submodule named _typing. This was originally intended to be experimental or private, but it was never fully addressed. The pandas maintainers will work to fix this issue (pandas-dev/pandas#55231) over the next year. I'm going to back out this change to pyright in the meantime.

Published 1.1.399

Bug Fixes:

  • Fixed bug that results in incorrect type narrowing when a value whose type is a non-callable (and non-final) class is passed as the second argument to an isinstance call and the first argument is a callable type. In this case, a subclass could provide a compatible __call__ method, so the type shouldn't be narrowed to Never.
  • Fixed bug that results in a false positive "missing stub file" diagnostic when importing a "py.typed" submodule from a namespace package.
  • Fixed bug that results in a false negative when a type variable with an upper bound is used to annotate a parameter in a method override.
  • Fixed a bug that results in a false negative for a method override that uses Self in a contravariant position.
  • Fixed bug that results in a false positive error under certain circumstances involving a type variable with an upper bound of type[T] that is assigned to another type variable.
  • Fixed a bug that results in a false negative when the specialization of a TypeVarTuple includes multiple unpacked tuples of unknown length.
  • Fixed a bug that results in a false negative when a class that derives from type[Any] is assigned to any other type.
  • Fixed bug that results in an incorrect error under certain circumstances when inferring the return type of a recursive function that has a decorator or is async.
  • Fixed bug that results in a false negative when a return statement contains a call expression that invokes a NoReturn call and the argument list contains errors.
  • Fixed bug that leads to a false positive in the reportUnnecessaryComparison check when one operand's type is a callable and the other is not.
  • [From pylance] Fixed a bug that results in an internal assertion (and therefore a crash) when __builtins__.pyi imports from a project file.

Enhancements:

  • Extended deprecateTypingAliases feature to support symbols imported from typing_extensions.
  • Extended reportUnknownVariableType check to include cases where a value whose type is a generic class parameterized by Unknown is assigned to a variable with a declared type.
  • Extended the check for isinstance and issubclass argument validation to flag the Literal special form, which leads to a runtime error when used in the second argument.
  • Updated typeshed stubs to the latest version. This version removes support for Python 3.8, which is now out of service.

Behavior Changes:

  • Removed support for ru and ur string prefixes. These were supported in Python 2.7 but are syntax errors in Python 3.x.
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 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)

Bumps [pyright](https://github.com/Microsoft/pyright/tree/HEAD/packages/pyright) from 1.1.398 to 1.1.400.
- [Release notes](https://github.com/Microsoft/pyright/releases)
- [Commits](https://github.com/Microsoft/pyright/commits/1.1.400/packages/pyright)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 1, 2025
@github-actions github-actions bot enabled auto-merge (squash) May 1, 2025 21:40
@github-actions github-actions bot merged commit 58d01a8 into main May 1, 2025
2 checks passed
@github-actions github-actions bot deleted the dependabot/npm_and_yarn/pyright-1.1.400 branch May 1, 2025 21:40
tekumara pushed a commit that referenced this pull request May 18, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.9.37](v0.9.36...v0.9.37)
(2025-05-18)


### Features

* COPY INTO supports multiple files
([5c88fce](5c88fce))
* support column renames in FLATTEN
([f24fbaa](f24fbaa)),
closes [#198](#198)
* support FLATTEN without alias
([0bfa83f](0bfa83f))
* support positional arg for FLATTEN
([1b7a4c8](1b7a4c8))
* support TABLE(FLATTEN(..))
([8cc5f8f](8cc5f8f))


### Chores

* bump sqlglot~=26.16.2
([1b8370c](1b8370c))
* **deps-dev:** bump pyright from 1.1.398 to 1.1.400
([#213](#213))
([58d01a8](58d01a8))
* **deps:** update setuptools requirement from ~=78.1 to ~=80.1
([#214](#214))
([eb24a12](eb24a12))
* uv required in Makefile
([99f15a1](99f15a1))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: potatobot-prime[bot] <132267321+potatobot-prime[bot]@users.noreply.github.com>
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 javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants
0