Update dependency pyright to ^1.1.408 #2923
Open
+8
−8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.1.404→^1.1.408Release Notes
Microsoft/pyright (pyright)
v1.1.408: Published 1.1.408Compare Source
Changes:
ad444ccPublish 1.1.408cba32eaUpdate typeshed to latest (#11211)1576956Fix completions for typeddicts with errors (#11177)45159a9Update installation.md (#11175)5f7ce34Update PyCharm setup documentation (#11105)6f3b72cFixed bug in type narrowing logic for sequence pattern matching. This addresses #11056. (#11085)89825e1Fixed regression that results in a false positive when using thepydantic.dataclasses.dataclassdecorator. This addresses #11060. (#11084)8d9df83Fixed issue that prevents typeshed from eliminatingtyping._TypedDict. This addresses #11081. (#11083)906e40apull-pylance-with-pyright-1.1.407-20251029-180818 (#11072)d2a4d57pull-pylance-with-pyright-1.1.407-20251024-224406 (#11059)See More
de80320Update azure-pipelines-release.yml for Azure Pipelinese32067cUpdate azure-pipelines-release.yml for Azure PipelinesThis list of changes was auto generated.
v1.1.407: Published 1.1.407Compare Source
Changes:
276448fFixed package-lock files783ee67Published 1.1.407f9fc2aaUpdated typeshed stubs to the latest version (#11051)5f599f9Added error reporting for unknown or unsupported config settings. This addresses #11040. (#11045)cadded6Fixed regression that results in--createstubdoing nothing. This addresses #11043. (#11044)538053dFixed bug that causes a false negative when aTypedDictoverrides a parent withextra_itemsthat are notReadOnlywith aReadOnlyfield. This addresses #11037. (#11038)ba3f0d4Fixed bug that results in a false positive when anamedtuplefunctional form is used with a field starting with an underscore andrename=True. This addresses #11033. (#11034)80eb0dcFixed bug in type narrowing for literal patterns. The runtime uses equality checks, so matching against the pattern3cannot necessarily narrow the type toLiteral[3]. This addresses #11026. (#11028)b1c9ae2Fixed bug that results in a false positive error when awithstatement has a single parenthesized context manager. This addresses #11020. (#11024)346f74cFixed a bug that causes a@dataclass_transformto fail if the decorator returns a callback protocol rather than aCallable. This addresses #11015. (#11018)See More
20aa20aPull Pylance with Pyright 1.1.406 (#11010)9ed33cfFixed bug that results in a spurious error when running pyright on Python 3.14 but configured for Python 3.13 or earlier. This addresses #11003. (#11006)6e877ddChanged default Python version from 3.13 to 3.14 to reflect new stable version (#11004)69a5d84Fixed bug that omit**kwargsparameter with an unpacked TypedDict with extra items. (#10997) [ #10996 ]ed83d58Eagerly exit isEnumClassWithMembers (#10990)17f24b3Updated diagnostic message to include "standard" mode. This addresses #10988. (#10989)30db40bAdd users to notification list for manual validation (#10984)This list of changes was auto generated.
v1.1.406: Published 1.1.406Compare Source
Changes:
308f5c0Published 1.1.40638317d6Fixed bug that results in false positive for module attributes that are synthesized for namespace modules. This addresses #10692. (#10972)676cd11Fixed several bugs related to subscripts with unpack operators, notably when the unpack targets a tuple with a known length. This addresses #10723. (#10971)8996f91Removed remaining code that was left over from PEP 637, which was rejected.f7285d9Added special casing inreportUnnecessaryComparisoncheck for modules. This addresses #10706. (#10970)907028cAdded check for the use of aNewTypein a class pattern. This addresses #10784. (#10969)7b28a61Updated typeshed stubs to the latest version (#10968)ad557b5Fixed bug that results in incorrect behavior whenpartialis applied to a function with a positional-only parameter separator. This addresses #10954. (#10967)6a92d60Bump tar-fs from 2.1.3 to 2.1.4 in /packages/vscode-pyright (#10965)b0fb77dFixed bug that causes workspace edits to include annotation IDs without changeAnnotations field. (#10902) [ #10671 ]See More
79ff3e3Fix literal overload completions in call arguments (#10762)1a46b0fClarified implicit import rules in docs.97ae524Fix regression in symlinked files (#10944)b122ef9Fix mypy_primer to run again (#10945)135fa85Subtle issue with change tracking when not doing analysis (#10918)7905b19Removed "reportShadowedImports" check and associated "renameShadowedFile" action. This feature is off by default in pyright although enabled by default in pylance. (#10891)b182c80Fixed bug that results in spurious errors when a wildcard import targets a traditionalTypeVarwith the same name as a PEP 695 TypeVar. This addresses #10900. (#10903)eaa43e4Reduced log level for "Skipping recursive symlink" when enumerating project files.b4a158fClarify editable install behavior with setuptools and uv (#10888)d64f3fapull-pylance-with-pyright-1.1.404-20250902-204731 (#10885)b7c1e79pull-pylance-with-pyright-1.1.404-20250902-173744 (#10882)This list of changes was auto generated.
v1.1.405: Published 1.1.405Compare Source
Changes:
7ee3058Published 1.1.405.bb13689Fixed bug that results in false positive "reportPossiblyUnboundVariable" error on keyword argument names. This addresses #10811. (#10876)539aabdUpdated error message forNewTypeused inisinstancecheck. I don't think this makes things clearer, but it is technically more correct. Addresses #10601.ce16aa1Changed the evaluated type of__class__fromtype[Self]totype[<Enclosing class]. This addresses #10685. (#10874)099954dAdded optimization that reduces the number of Uri objects that need to be created during type evaluation. This is an attempt to address #10832. (#10872)93c98d7Fixed bug that causes a false negative when using unquoted types in a TypedDict functional class definition if the types are forward declared. This addresses #10612. (#10869)29bb1b0Fixed bug that resulted in false negative when backslash followed by line feed occurs at end of file. This addresses #10814. (#10867)f3ab90bFixed false negative when a keyword parameter in a child class method overrides a method with a**kwargsin the parent and the type is incompatible. This addresses #10815. (#10866)c407dedFixed regression introduced in 1.1.343 that results in nondeterministic (order-dependent) type evaluation under certain circumstances involving recursive type aliases. This addresses #10850. (#10865)d97565aRevert "Added support for tracking multiple constraint sets when performing protocol matching. This allows protocols with overloaded methods to contribute independent constraint sets. This addresses #9835. (#9864)" (#10863) [ #10849 ]See More
aff9b4fFixed bug that contributes to out-of-memory crashes under certain circumstances where a module's transitive import graph is very large and may not fit within the available heap space. (#10862)7395f59Bump tmp from 0.2.3 to 0.2.5 in /packages/vscode-pyright (#10824)769a124Added support formatch_argsdataclass parameter. This addresses #10858. (#10861)464bc01Fixed bug that results in false negative when aclosed=Falseis used inTypedDictthat subclasses from a non-openTypedDictbase class. This addresses #10859. (#10860)eccd633Revert "Reverted a recent change that appears to have affected performance on some projects. This attempts to address #10832. (#10841)"b85f7ffImproved performance of import resolution when there are large number… (#10855)b45deb0Document editable installs with uv (#10854)cd980e2Fixed a bug that results in spurious errors if a class decorator is a… (#10846) [ #10836 ]30068aaFixed a bug that results in false positive errors when usingobjectmethods (like__eq__) on aSentinelinstance. This addresses #10773. (#10844)1ce3e78Fixed bug that results in incorrect literal math results for bitwise negation. This addresses #10834. (#10842)fe7aaf2Reverted a recent change that appears to have affected performance on some projects. This attempts to address #10832. (#10841)d639324pull-pylance-with-pyright-1.1.403-20250820-201137 (#10831)This list of changes was auto generated.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.