Skip to content

Python: Build(deps): bump the python-type-checkers group across 2 directories with 1 update - #9838

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python/python-type-checkers-54f143c559
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python/python-type-checkers-54f143c559

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps the python-type-checkers group with 1 update in the /python directory: pyrefly.
Bumps the python-type-checkers group with 1 update in the /python/tooling directory: pyrefly.

Updates pyrefly from 1.3.2 to 1.4.0

Release notes

Sourced from pyrefly's releases.

Pyrefly v1.4.0

Release date: October 14, 2026

Pyrefly v1.4.0 bundles 1191 commits from 66 contributors.


Release Highlights

Language Server

  • The VS Code extension now runs the Pyrefly from your environment. By default, the extension launches the Pyrefly installed in your active Python environment (for example, your project's .venv), so your editor and your command line use the same version. If the environment has no Pyrefly, the extension falls back to its bundled binary. Set pyrefly.pyreflyExecutable to bundled to keep the old behavior. See Pyrefly binary selection.

Configuration & CLI

  • uv workspace members are now type checked. In a uv workspace, the interpreter puts each member's source directory on sys.path as an editable install. Pyrefly treated those directories as installed packages and skipped them, so errors in workspace members went unreported. Pyrefly now checks editable sources inside your project, while regular site-packages stay excluded.

Type Checking

  • Easier migration from BasedPyright. Pyrefly reads basedpyright sections in pyproject.toml and applies the matching type checking mode preset.
  • New opt-in checks for untyped code. New error kinds such as unknown-member-type, unknown-return-type, untyped-function-decorator, and uninitialized-instance-variable help you find where Any enters your code.

Tensor Shapes

  • JAX shape stubs on PyPI. This is the first stable release that ships JAX shape stubs as the jax-pyrefly-stubs package.

⚠️ Behavior Changes

These may change your editor setup or surface new errors in code that checked cleanly under v1.3.0.

  • The VS Code extension now uses the Pyrefly in your active environment by default instead of its bundled binary. If your environment pins an older Pyrefly, the editor now runs that version. The Pyrefly language server output channel shows which binary was chosen and why.
  • Pyrefly now checks the source of uv workspace members (editable installs inside your project). Errors in those packages that were hidden before can now appear.
  • --typeshed-path now replaces the bundled typeshed entirely instead of overlaying it.
  • The incompatible-overload-residual error kind is renamed to incompatible-overload-argument. The old name still works as a deprecated alias.
  • site-package-path is renamed to site-packages-path. The old name still works.

✨ New & Improved

Type Checking

  • Pyrefly now recognizes basedpyright configuration sections in pyproject.toml and applies appropriate type checking mode presets, making it easier to migrate from BasedPyright.
  • TypedDict handling has been significantly improved: generic extra_items are now instantiated correctly, extra items can supply missing arguments, and definitely_seen calculation in callable checking has been fixed.
  • TypeVar restriction checking is now enforced even when the expected type is gradual, preventing silent violations of TypeVar bounds and constraints when Any appears in the expected type.
  • Improved handling of overloaded function arguments in generic function calls through a new overload table mechanism, replacing the previous residual-based approach. The incompatible-overload-residual error kind has been renamed to incompatible-overload-argument (the old name remains as a deprecated alias).
  • Variance inference has been improved with fixes for nested variance reliability bugs and explicit stored variance evidence.
  • Property decorator validation now reports invalid signatures with extra required parameters.

... (truncated)

Commits
  • feeee25 cut 1.4.0 (pick onto fbcode/releases/pyrefly/v1.4)
  • e6294fc Ignore return-only vars when an overload decides whether it wins (#5241)
  • 1c1516f Test an overloaded protocol method whose return var is invariant
  • 5327270 Accept bare arrays with symbolic shapes
  • 4e9f88b Reject python-version below 3.5 instead of crashing
  • d142f67 Document bare shaped array incompatibility
  • 96f8820 Extend the test for constructors with several matching overloads
  • ea8421d Reject an overload that violates a restriction under a gradual expected type ...
  • 03e1ade Cover restriction violations under a gradual expected type in overloaded cons...
  • 2adc991 Respect custom new inherited from an intermediate NamedTuple subclass (#5...
  • Additional commits viewable in compare view

Updates pyrefly from 1.3.2 to 1.4.0

Release notes

Sourced from pyrefly's releases.

Pyrefly v1.4.0

Release date: October 14, 2026

Pyrefly v1.4.0 bundles 1191 commits from 66 contributors.


Release Highlights

Language Server

  • The VS Code extension now runs the Pyrefly from your environment. By default, the extension launches the Pyrefly installed in your active Python environment (for example, your project's .venv), so your editor and your command line use the same version. If the environment has no Pyrefly, the extension falls back to its bundled binary. Set pyrefly.pyreflyExecutable to bundled to keep the old behavior. See Pyrefly binary selection.

Configuration & CLI

  • uv workspace members are now type checked. In a uv workspace, the interpreter puts each member's source directory on sys.path as an editable install. Pyrefly treated those directories as installed packages and skipped them, so errors in workspace members went unreported. Pyrefly now checks editable sources inside your project, while regular site-packages stay excluded.

Type Checking

  • Easier migration from BasedPyright. Pyrefly reads basedpyright sections in pyproject.toml and applies the matching type checking mode preset.
  • New opt-in checks for untyped code. New error kinds such as unknown-member-type, unknown-return-type, untyped-function-decorator, and uninitialized-instance-variable help you find where Any enters your code.

Tensor Shapes

  • JAX shape stubs on PyPI. This is the first stable release that ships JAX shape stubs as the jax-pyrefly-stubs package.

⚠️ Behavior Changes

These may change your editor setup or surface new errors in code that checked cleanly under v1.3.0.

  • The VS Code extension now uses the Pyrefly in your active environment by default instead of its bundled binary. If your environment pins an older Pyrefly, the editor now runs that version. The Pyrefly language server output channel shows which binary was chosen and why.
  • Pyrefly now checks the source of uv workspace members (editable installs inside your project). Errors in those packages that were hidden before can now appear.
  • --typeshed-path now replaces the bundled typeshed entirely instead of overlaying it.
  • The incompatible-overload-residual error kind is renamed to incompatible-overload-argument. The old name still works as a deprecated alias.
  • site-package-path is renamed to site-packages-path. The old name still works.

✨ New & Improved

Type Checking

  • Pyrefly now recognizes basedpyright configuration sections in pyproject.toml and applies appropriate type checking mode presets, making it easier to migrate from BasedPyright.
  • TypedDict handling has been significantly improved: generic extra_items are now instantiated correctly, extra items can supply missing arguments, and definitely_seen calculation in callable checking has been fixed.
  • TypeVar restriction checking is now enforced even when the expected type is gradual, preventing silent violations of TypeVar bounds and constraints when Any appears in the expected type.
  • Improved handling of overloaded function arguments in generic function calls through a new overload table mechanism, replacing the previous residual-based approach. The incompatible-overload-residual error kind has been renamed to incompatible-overload-argument (the old name remains as a deprecated alias).
  • Variance inference has been improved with fixes for nested variance reliability bugs and explicit stored variance evidence.
  • Property decorator validation now reports invalid signatures with extra required parameters.

... (truncated)

Commits
  • feeee25 cut 1.4.0 (pick onto fbcode/releases/pyrefly/v1.4)
  • e6294fc Ignore return-only vars when an overload decides whether it wins (#5241)
  • 1c1516f Test an overloaded protocol method whose return var is invariant
  • 5327270 Accept bare arrays with symbolic shapes
  • 4e9f88b Reject python-version below 3.5 instead of crashing
  • d142f67 Document bare shaped array incompatibility
  • 96f8820 Extend the test for constructors with several matching overloads
  • ea8421d Reject an overload that violates a restriction under a gradual expected type ...
  • 03e1ade Cover restriction violations under a gradual expected type in overloaded cons...
  • 2adc991 Respect custom new inherited from an intermediate NamedTuple subclass (#5...
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

… with 1 update

Bumps the python-type-checkers group with 1 update in the /python directory: [pyrefly](https://github.com/facebook/pyrefly).
Bumps the python-type-checkers group with 1 update in the /python/tooling directory: [pyrefly](https://github.com/facebook/pyrefly).


Updates `pyrefly` from 1.3.2 to 1.4.0
- [Release notes](https://github.com/facebook/pyrefly/releases)
- [Commits](meta/pyrefly@1.3.2...1.4.0)

Updates `pyrefly` from 1.3.2 to 1.4.0
- [Release notes](https://github.com/facebook/pyrefly/releases)
- [Commits](meta/pyrefly@1.3.2...1.4.0)

---
updated-dependencies:
- dependency-name: pyrefly
  dependency-version: 1.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-type-checkers
- dependency-name: pyrefly
  dependency-version: 1.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-type-checkers
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Usage: [Issues, PRs], Target: dependencies in the project label Oct 29, 2026
Copilot AI balanced review requested due to automatic review settings October 29, 2026 14:37
@dependabot dependabot Bot added the python Usage: [Issues, PRs], Target: Python label Oct 29, 2026
@dependabot
dependabot Bot deployed to github-app-auth October 29, 2026 14:37 Active
@github-actions github-actions Bot changed the title Build(deps): bump the python-type-checkers group across 2 directories with 1 update Python: Build(deps): bump the python-type-checkers group across 2 directories with 1 update Oct 29, 2026
@dependabot
dependabot Bot deployed to github-app-auth October 29, 2026 14:37 Active

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are reported for the Pyrefly version update.

No open issues 🎉

What changed in this PR

Updates Pyrefly in the Python type-checking tooling dependencies to adopt the 1.4.0 release.

Changes:

  • Bumps the pinned Pyrefly version from 1.3.2 to 1.4.0.
  • Leaves the other type-checker versions unchanged.
File Description
python/​tooling/​requirements-typing.txt Updates the Pyrefly pin to 1.4.0.

Review effort: Balanced

@eavanvalkenburg

Copy link
Copy Markdown
Member

Replicated Pyrefly 1.4.0 in the release-preparation branch: c040bbf . This also adds explicit provider option types needed by the new checker. Workspace tests and samples pass Pyrefly. These changes are prepared on the branch only; they are not yet merged or released.

@dependabot @github

dependabot Bot commented on behalf of github Oct 30, 2026

Copy link
Copy Markdown
Contributor Author

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml

@dependabot
dependabot Bot deleted the dependabot/pip/python/python-type-checkers-54f143c559 branch October 30, 2026 08:14

This branch was successfully deployed

1 active deployment
github-app-auth — 1767ede7 Deployed Oct 29, 2026 by dependabot[bot] via add_label #26537
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Usage: [Issues, PRs], Target: dependencies in the project python Usage: [Issues, PRs], Target: Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants