Skip to content

Bump pyrefly from 0.51.2 to 0.53.0#508

Closed
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/uv/develop/pyrefly-0.53.0
Closed

Bump pyrefly from 0.51.2 to 0.53.0#508
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/uv/develop/pyrefly-0.53.0

Conversation

@dependabot
Copy link
Contributor

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

Bumps pyrefly from 0.51.2 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

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.51.2 to 0.53.0.
- [Release notes](https://github.com/facebook/pyrefly/releases)
- [Commits](https://github.com/facebook/pyrefly/commits/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 added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Feb 19, 2026
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 26, 2026

Superseded by #512.

@dependabot dependabot bot closed this Feb 26, 2026
@dependabot dependabot bot deleted the dependabot/uv/develop/pyrefly-0.53.0 branch February 26, 2026 11:08
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:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants