Skip to content

chore(deps): bump pyrefly from 0.61.1 to 1.4.0 - #865

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/main/pyrefly-1.4.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/main/pyrefly-1.4.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps pyrefly from 0.61.1 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 dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Oct 19, 2026
@dependabot
dependabot Bot force-pushed the dependabot/uv/main/pyrefly-1.4.0 branch 2 times, most recently from 15ebb66 to 85a9c79 Compare October 20, 2026 04:15
Bumps [pyrefly](https://github.com/facebook/pyrefly) from 0.61.1 to 1.4.0.
- [Release notes](https://github.com/facebook/pyrefly/releases)
- [Commits](facebook/pyrefly@0.61.1...1.4.0)

---
updated-dependencies:
- dependency-name: pyrefly
  dependency-version: 1.4.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/uv/main/pyrefly-1.4.0 branch from 85a9c79 to 6f261de Compare October 20, 2026 06:04

This branch has not been deployed

No deployments
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 python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants