Skip to content

Bump version to 1.1.414 - #11724

Merged
Heejae Chang (heejaechang) merged 1 commit into
mainfrom
release/pyright-1.1.414
Sep 9, 2026
Merged

Heejae Chang (heejaechang) merged 1 commit into
mainfrom
release/pyright-1.1.414

Conversation

@heejaechang

Copy link
Copy Markdown
Collaborator

Bumps the package version from 1.1.413 to 1.1.414 in preparation for the next release.

Updates the version in the Lerna configuration and Pyright package manifests and refreshes the pnpm lockfile.

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

sympy (https://github.com/sympy/sympy)
+   .../projects/sympy/sympy/simplify/tests/test_hyperexpand.py:545:30 - error: Cannot access attribute "n" for class "Basic"
+     Attribute "n" is unknown (reportAttributeAccessIssue)
+   .../projects/sympy/sympy/simplify/tests/test_hyperexpand.py:547:32 - error: Cannot access attribute "n" for class "Basic"
+     Attribute "n" is unknown (reportAttributeAccessIssue)
-   .../projects/sympy/sympy/solvers/ode/nonhomogeneous.py:225:45 - error: Cannot access attribute "has" for class "tuple[Expr, int]"
-     Attribute "has" is unknown (reportAttributeAccessIssue)
+   .../projects/sympy/sympy/solvers/ode/nonhomogeneous.py:223:22 - error: No overloads for "__new__" match the provided arguments (reportCallIssue)
+   .../projects/sympy/sympy/solvers/ode/nonhomogeneous.py:223:25 - error: Argument of type "Unknown | One | NegativeOne | Zero | Integer | tuple[Expr, int]" cannot be assigned to parameter "arg" of type "Expr" in function "__new__"
+     Type "Unknown | One | NegativeOne | Zero | Integer | tuple[Expr, int]" is not assignable to type "Expr"
+       "tuple[Expr, int]" is not assignable to "Expr" (reportArgumentType)
+   .../projects/sympy/sympy/solvers/ode/nonhomogeneous.py:238:40 - error: No overloads for "__new__" match the provided arguments (reportCallIssue)
+   .../projects/sympy/sympy/solvers/ode/nonhomogeneous.py:238:50 - error: Argument of type "Unknown | One | NegativeOne | Zero | Integer | tuple[Expr, int]" cannot be assigned to parameter "arg" of type "Expr" in function "__new__"
+     Type "Unknown | One | NegativeOne | Zero | Integer | tuple[Expr, int]" is not assignable to type "Expr"
+       "tuple[Expr, int]" is not assignable to "Expr" (reportArgumentType)
-   .../projects/sympy/sympy/solvers/ode/ode.py:1433:17 - error: Argument of type "One | NegativeOne | Zero | Integer | NaN | ComplexInfinity | Rational | Infinity | NegativeInfinity | Float | Number | Expr" cannot be assigned to parameter "value" of type "Zero" in function "__setitem__"
+   .../projects/sympy/sympy/solvers/ode/ode.py:1433:17 - error: Argument of type "One | NegativeOne | Zero | Integer | Unknown | Rational | Number | Expr" cannot be assigned to parameter "value" of type "Zero" in function "__setitem__"
-     Type "One | NegativeOne | Zero | Integer | NaN | ComplexInfinity | Rational | Infinity | NegativeInfinity | Float | Number | Expr" is not assignable to type "Zero"
+     Type "One | NegativeOne | Zero | Integer | Unknown | Rational | Number | Expr" is not assignable to type "Zero"
+   .../projects/sympy/sympy/solvers/ode/ode.py:1753:36 - error: Cannot access attribute "lhs" for class "Expr"
+     Attribute "lhs" is unknown (reportAttributeAccessIssue)
+   .../projects/sympy/sympy/solvers/ode/ode.py:1753:55 - error: Cannot access attribute "rhs" for class "Expr"
+     Attribute "rhs" is unknown (reportAttributeAccessIssue)
+   .../projects/sympy/sympy/solvers/ode/ode.py:1754:36 - error: Cannot access attribute "lhs" for class "Expr"
+     Attribute "lhs" is unknown (reportAttributeAccessIssue)
+   .../projects/sympy/sympy/solvers/ode/ode.py:1755:17 - error: No overloads for "__setitem__" match the provided arguments (reportCallIssue)
+   .../projects/sympy/sympy/solvers/ode/ode.py:1755:17 - error: Argument of type "Equality | BooleanFalse | BooleanTrue | Unknown | Expr" cannot be assigned to parameter "value" of type "Equality | BooleanFalse | BooleanTrue" in function "__setitem__"
+     Type "Equality | BooleanFalse | BooleanTrue | Unknown | Expr" is not assignable to type "Equality | BooleanFalse | BooleanTrue"
+       Type "Expr" is not assignable to type "Equality | BooleanFalse | BooleanTrue"
+         "Expr" is not assignable to "Equality"
+         "Expr" is not assignable to "BooleanFalse"
+         "Expr" is not assignable to "BooleanTrue" (reportArgumentType)
-   .../projects/sympy/sympy/solvers/ode/ode.py:2961:17 - error: Argument of type "One | NegativeOne | Zero | Integer | NaN | ComplexInfinity | Rational | Infinity | NegativeInfinity | Float | Number | Expr" cannot be assigned to parameter "value" of type "Zero" in function "__setitem__"
+   .../projects/sympy/sympy/solvers/ode/ode.py:2961:17 - error: Argument of type "One | NegativeOne | Zero | Integer | Unknown | Rational | Number | Expr" cannot be assigned to parameter "value" of type "Zero" in function "__setitem__"
-     Type "One | NegativeOne | Zero | Integer | NaN | ComplexInfinity | Rational | Infinity | NegativeInfinity | Float | Number | Expr" is not assignable to type "Zero"
+     Type "One | NegativeOne | Zero | Integer | Unknown | Rational | Number | Expr" is not assignable to type "Zero"
+   .../projects/sympy/sympy/solvers/ode/riccati.py:275:12 - error: No overloads for "__init__" match the provided arguments (reportCallIssue)
+   .../projects/sympy/sympy/solvers/ode/riccati.py:275:17 - error: Argument of type "zip[Unknown]" cannot be assigned to parameter "iterable" of type "Iterable[list[bytes]]" in function "__init__"
+     "zip[Unknown]" is incompatible with protocol "Iterable[list[bytes]]"
+       "__iter__" is an incompatible type
+         Type "() -> zip[Unknown]" is not assignable to type "() -> Iterator[_T_co@Iterable]"
+           Function return type "zip[Unknown]" is incompatible with type "Iterator[_T_co@Iterable]"
+             "zip[Unknown]" is incompatible with protocol "Iterator[_T_co@Iterable]" (reportArgumentType)
-   .../projects/sympy/sympy/solvers/ode/single.py:867:9 - error: Expression with type "tuple[ComplexInfinity | NaN | Rational | Zero | Infinity | NegativeInfinity | Float | NotImplementedType | Expr | Unknown | Any, list[tuple[Unknown, Unknown]] | list[Unknown]] | tuple[ComplexInfinity | NaN | Rational | Zero | Infinity | NegativeInfinity | Float | NotImplementedType | Expr | Unknown | Any, list[tuple[Unknown, Unknown]] | list[Unknown], list[tuple[Unknown, Unknown]] | list[Unknown]]" cannot be assigned to target tuple
+   .../projects/sympy/sympy/solvers/ode/single.py:867:9 - error: Expression with type "tuple[ComplexInfinity | Unknown | Any, list[tuple[Unknown, Unknown]] | list[Unknown]] | tuple[ComplexInfinity | Unknown | Any, list[tuple[Unknown, Unknown]] | list[Unknown], list[tuple[Unknown, Unknown]] | list[Unknown]]" cannot be assigned to target tuple
-     Type "tuple[ComplexInfinity | NaN | Rational | Zero | Infinity | NegativeInfinity | Float | NotImplementedType | Expr | Unknown | Any, list[tuple[Unknown, Unknown]] | list[Unknown], list[tuple[Unknown, Unknown]] | list[Unknown]]" is incompatible with target tuple
+     Type "tuple[ComplexInfinity | Unknown | Any, list[tuple[Unknown, Unknown]] | list[Unknown], list[tuple[Unknown, Unknown]] | list[Unknown]]" is incompatible with target tuple
-   .../projects/sympy/sympy/solvers/ode/single.py:2375:23 - error: Argument of type "dict[str, Equality | BooleanFalse | BooleanTrue | bool | list[Unknown]]" cannot be assigned to parameter "m" of type "Iterable[tuple[int, Unknown | One | NegativeOne | Zero | Integer | NaN | ComplexInfinity | Rational | Expr]]" in function "update"
+   .../projects/sympy/sympy/solvers/ode/single.py:2375:23 - error: Argument of type "dict[str, Equality | BooleanFalse | BooleanTrue | bool | list[Unknown]]" cannot be assigned to parameter "m" of type "Iterable[tuple[int, Unknown | One | NegativeOne | Zero | Integer | Expr]]" in function "update"
-     "Literal['list']" is not assignable to "tuple[int, Unknown | One | NegativeOne | Zero | Integer | NaN | ComplexInfinity | Rational | Expr]"
+     "Literal['list']" is not assignable to "tuple[int, Unknown | One | NegativeOne | Zero | Integer | Expr]"
-     "Literal['sol']" is not assignable to "tuple[int, Unknown | One | NegativeOne | Zero | Integer | NaN | ComplexInfinity | Rational | Expr]"
+     "Literal['sol']" is not assignable to "tuple[int, Unknown | One | NegativeOne | Zero | Integer | Expr]"
-     "Literal['simpliy_flag']" is not assignable to "tuple[int, Unknown | One | NegativeOne | Zero | Integer | NaN | ComplexInfinity | Rational | Expr]" (reportArgumentType)
+     "Literal['simpliy_flag']" is not assignable to "tuple[int, Unknown | One | NegativeOne | Zero | Integer | Expr]" (reportArgumentType)
-   .../projects/sympy/sympy/solvers/ode/single.py:2646:27 - error: Argument of type "One | NegativeOne | Zero | Integer | NaN | ComplexInfinity | Rational | Infinity | NegativeInfinity | Float | Number | Expr | Unknown | int" cannot be assigned to parameter "stop" of type "SupportsIndex" in function "__new__"
+   .../projects/sympy/sympy/solvers/ode/single.py:2646:27 - error: Argument of type "One | NegativeOne | Zero | Integer | Unknown | Rational | Number | Expr | NaN | NegativeInfinity | int" cannot be assigned to parameter "stop" of type "SupportsIndex" in function "__new__"
-     Type "One | NegativeOne | Zero | Integer | NaN | ComplexInfinity | Rational | Infinity | NegativeInfinity | Float | Number | Expr | Unknown | int" is not assignable to type "SupportsIndex"
+     Type "One | NegativeOne | Zero | Integer | Unknown | Rational | Number | Expr | NaN | NegativeInfinity | int" is not assignable to type "SupportsIndex"
+   .../projects/sympy/sympy/solvers/recurr.py:240:17 - error: No overloads for "__setitem__" match the provided arguments (reportCallIssue)
+   .../projects/sympy/sympy/solvers/recurr.py:240:17 - error: Argument of type "ComplexInfinity | Unknown" cannot be assigned to parameter "value" of type "One" in function "__setitem__"
+     Type "ComplexInfinity | Unknown" is not assignable to type "One"
+       "ComplexInfinity" is not assignable to "One" (reportArgumentType)
-   .../projects/sympy/sympy/solvers/recurr.py:313:18 - error: Operator "+" not supported for types "Expr" and "Basic | One | NegativeOne | Zero | Integer | NaN | ComplexInfinity | Rational | Expr | Unknown"

... (truncated 1387 lines) ...

@bschnurr

Copy link
Copy Markdown
Member

🔒 Automated review in progress — Bill Schnurr (@bschnurr) is auto-reviewing this PR.

@bschnurr

Copy link
Copy Markdown
Member

Result: ⚠️ partially-verified

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: Release metadata validation passed: all five manifests report version 1.1.414, and the lockfile contains the expected workspace importers. No tests were added by the PR. Node, pnpm, Jest, and dependencies were unavailable, so frozen-lockfile installation and package tests could not run; confidence is therefore partial.

Test runs: 1 passed, 2 not run

  • ⚠️ Not run | Node/Jest dependency and test discovery preflight | printf '%s\n' '=== profile ==='; node --version; pnpm --version || true; printf '%s\n' '=== dependencies ==='; if [ -d node_modules ]; then echo 'root node_modules: present'; else echo 'root node_modules: missing'; fi; if [ -x packages/pyright-internal/node_modules/.bin/jest ]; then echo 'package Jest: present'; else echo 'package Jest: missing'; fi; printf '%s\n' '=== changed files ==='; base=$(git merge-base HEAD origin/main 2>/dev/null || git rev-parse HEAD^); git diff --name-status "$base" HEAD; printf '%s\n' '=== package scripts ==='; node -e "for (const p of ['package.json','packages/pyright/package.json','packages/pyright-internal/package.json','packages/pyright-typeserver/package.json','packages/vscode-pyright/package.json']) { const x=require('./'+p); console.log(p, x.version || '-', JSON.stringify(x.scripts || {})); }"; printf '%s\n' '=== version-related tests ==='; find packages -type f ( -name 'test.ts' -o -name 'spec.ts' ) -print0 | xargs -0 grep -liE 'package.*version|lerna.*version|1.1.[0-9]+' 2>/dev/null | head -50
  • ⚠️ Not run | Frozen offline dependency installation | pnpm install --offline --frozen-lockfile
  • ✅ Passed | Release metadata consistency and lockfile smoke check | python3 - <<'PY'
    import json, pathlib, re
    expected = '1.1.414'
    files = [
    pathlib.Path('lerna.json'),
    pathlib.Path('packages/pyright-internal/package.json'),
    pathlib.Path('packages/pyright-typeserver/package.json'),
    pathlib.Path('packages/pyright/package.json'),
    pathlib.Path('packages/vscode-pyright/package.json'),
    ]
    for path in files:
    data = json.loads(path.read_text(encoding='utf-8'))
    actual = data.get('version')
    assert actual == expected, f'{path}: expected {expected}, got {actual}'
    print(f'PASS {path}: version={actual}')
    assert re.fullmatch(r'0|[1-9]\d*.(?:0|[1-9]\d*).(?:0|[1-9]\d*)', expected), expected
    lock = pathlib.Path('pnpm-lock.yaml').read_text(encoding='utf-8')
    assert "lockfileVersion: '9.0'" in lock
    for importer in ['packages/pyright:', 'packages/pyright-internal:', 'packages/pyright-typeserver:', 'packages/vscode-pyright:']:
    assert f' {importer}' in lock, f'missing lockfile importer {importer}'
    print(f'PASS pnpm-lock.yaml: found importer {importer[:-1]}')
    print('PASS release metadata consistency and lockfile importer smoke check')
    PY
⚠️ Node/Jest dependency and test discovery preflight diagnostic output
node: not found
pnpm: not found
root node_modules: missing
package Jest: missing
fatal: not a git repository
node: not found
⚠️ Frozen offline dependency installation diagnostic output
/bin/sh: 1: pnpm: not found

@bschnurr Bill Schnurr (bschnurr) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved via Review Center.

@bschnurr Bill Schnurr (bschnurr) added the review-auto:approved Automated review: no blocking findings (approval posted). label Sep 9, 2026
@heejaechang
Heejae Chang (heejaechang) merged commit a28cce4 into main Sep 9, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-auto:approved Automated review: no blocking findings (approval posted).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants