Skip to content

Comments

Bump pyrefly from 0.52.0 to 0.53.0#263

Merged
offa merged 1 commit intomasterfrom
dependabot/pip/pyrefly-0.53.0
Feb 23, 2026
Merged

Bump pyrefly from 0.52.0 to 0.53.0#263
offa merged 1 commit intomasterfrom
dependabot/pip/pyrefly-0.53.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 23, 2026

Bumps pyrefly from 0.52.0 to 0.53.0.

Release notes

Sourced from pyrefly's releases.

Pyrefly v0.53.0

Pyrefly 0.53.0

Status : BETA
Release date: 17 February 2026

pyrefly 0.53.0 bundles 245 commits from 27 contributors.


✨ New & Improved

Area What’s new
Type Checking - Recursive type aliases now supported, so you can define type aliases that reference themselves, and Pyrefly will correctly resolve and type-check them - Error is now raised when Self is used in certain invalid locations (outside a class, in a static method within a class, in a metaclass) - Pyrefly now supports the idiom class Foo(namedtuple("Bar", ...)), matching CPython and Mypy behavior - Pyrefly will now warn you if a protocol’s type variable is used in a way that doesn’t match its declared variance
Language Server - Completion suggestions are now ranked based on most recently used (MRU) items - Auto-import completions and unknown-name quick fixes now honor common aliases (e.g. import numpy as np) - Improved error messages for signature mismatches, including ASCII-style diffs and normalized function names for clarity
Config - JSON schemas added for pyrefly.toml and pyproject.toml to enable editor features like auto-completion and validation
Performance - Pyrefly uses ~26% less CPU when tested typechecking the whole Pytorch codebase on M1 Pro MacBook with 10 cores

🐛 bug fixes

We closed 17 bug issues this release 👏

  • #949 - Lambdas with yield or yield from are now correctly inferred as generator-returning callables.
  • #2407 - Literal imported via try/except is now recognized as a special form, preventing spurious unknown-name errors
  • #2375 - Methods overriding base class methods no longer trigger false positive errors for missing @override decorators.
  • #2327 - The first parameter of class methods is now correctly handled regardless of its name.
  • And more - #1754, #1383, #1790, #2350, #2369, #2371, #2392, #2335, #259, #254, #1778, #2116, #2302

Thank-you to all our contributors who found these bugs and reported them! Did you know this is one of the most helpful contributions you can make to an open-source project? If you find any bugs in Pyrefly we want to know about them! Please open a bug report issue here


📦 Upgrade

pip install --upgrade pyrefly==0.53.0

How to safely upgrade your codebase

Upgrading the version of Pyrefly you're using or a third-party library you depend on can reveal new type errors in your code. Fixing them all at once is often unrealistic. We've written scripts to help you temporarily silence them. After upgrading, follow these steps:

  1. pyrefly check --suppress-errors
  2. run your code formatter of choice
  3. pyrefly check --remove-unused-ignores
  4. Repeat until you achieve a clean formatting run and a clean type check.

... (truncated)

Commits
  • fda879a Update pyrefly version]
  • 817a22e Mark 3 more nondeterministic projects
  • 4270fb1 Add missing global variable edges in call graph when using global statement
  • c8e7e6c Add further jsonschema testing
  • 9ebf413 Add jsonschema tests to test runner
  • e0cf658 Turn tests into Python unittests (and buckify)
  • 093106e Expose ArgsExpander to the solver
  • ea7aef8 Make ArgsExpander hold an AnswersSolver
  • 8c2e345 Refactor quickfix logic
  • e4babe9 Update Pyrefly schema validator to include negative tests
  • Additional commits viewable in compare view

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 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 [pyrefly](https://github.com/facebook/pyrefly) from 0.52.0 to 0.53.0.
- [Release notes](https://github.com/facebook/pyrefly/releases)
- [Commits](facebook/pyrefly@0.52.0...0.53.0)

---
updated-dependencies:
- dependency-name: pyrefly
  dependency-version: 0.53.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/pyrefly-0.53.0 branch from e51d5d6 to 12471bd Compare February 23, 2026 19:08
@offa offa merged commit 8a78173 into master Feb 23, 2026
14 checks passed
@dependabot dependabot bot deleted the dependabot/pip/pyrefly-0.53.0 branch February 23, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant