Skip to content

Bump pyrefly from 0.53.0 to 0.54.0#206

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/uv/pyrefly-0.54.0
Open

Bump pyrefly from 0.53.0 to 0.54.0#206
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/uv/pyrefly-0.54.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 2, 2026

Bumps pyrefly from 0.53.0 to 0.54.0.

Release notes

Sourced from pyrefly's releases.

Pyrefly v0.54.0

Status: BETA
Release date: February 23, 2026

Pyrefly 0.54.0 bundles 93 commits from 18 contributors.

✨ New & Improved

Area What’s new
Type checker - Pyrefly now supports using type(X) in base class lists, enabling compatibility with codebases that use metaclass expressions (e.g. those wrapping C extensions) - Added static evaluation support for more patterns of sys.platform and sys.version_info checks
Language Server - Autoimport and quickfix now surface explicit re-export paths, improving import suggestions for users working with re-exported symbols. - Diagnostics can now be controlled independently for each workspace folder in multi-root setups, allowing users to customize diagnostics per project - Enhanced "Generate code" quick fix actions in Pyrefly's LSP, which will now infer parameter types and annotations from call-site arguments - Code completion and signature help now shows keyword argument and literal completions from all compatible overloads, not just the closest match

🐛 bug fixes

We closed 7 bug issues this release 👏

  • #2273 - Adjusted overload-to-Callable subtyping so single-parameter overloads can satisfy a union-parameter Callable, fixing assignment errors
  • #2398 - When matching a value against a union containing both bare TypeVars and wrapped TypeVars, Pyrefly now tries wrapped vars first, producing better TypeVar solutions and satisfying bounds
  • And more! #2398, #949, #2421, #2457, #1122, #2434, #787

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.54.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.

This will add # pyrefly: ignore comments to your code, enabling you to silence errors and return to fix them later. This can make the process of upgrading a large codebase much more manageable.

Read more about error suppressions in the Pyefly documentation

🖊️ Contributors this release

@​stroxler, @​jvansch1, @​rchen152, @​samwgoldman, @​arthaud, @​asukaminato0721, @​grievejia, @​kinto0, @​migeed-z, @​avikchaudhuri, @​rubmary, @​alanhdu, @​fangyi-zhou, @​javabster, @​dtolnay, Carlos Fernandez


Please note: These release notes summarize major updates and features. For brevity, not all individual commits are listed. Highlights from patch release changes that were shipped after the previous minor release are incorporated here as well.

Commits
  • 4b97d41 Update pyrefly version]
  • b6dd8b0 Update darling from 0.20.11 to 0.21.3
  • 91d3ce9 Revert D93807796: add opt-in telemetry to ad_hoc_solve
  • 98c1de9 add opt-in telemetry to ad_hoc_solve
  • 0672f44 Replace UpgradeLock with lock-free atomics for module state
  • baadc20 Pack Dirty flags into a single u8 with bitwise operations
  • 5bb3e3f Remove internal Arc from Exports, use explicit Arc<Exports>
  • 7ca003c impl Completions: Import suggestions for explicit re-exports. #2207 (#2416)
  • 84b6203 Add override threshold for override subsets in the call graph
  • c42af68 Support type(\<expr>) as a base class expression
  • 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.53.0 to 0.54.0.
- [Release notes](https://github.com/facebook/pyrefly/releases)
- [Commits](facebook/pyrefly@0.53.0...0.54.0)

---
updated-dependencies:
- dependency-name: pyrefly
  dependency-version: 0.54.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 Mar 2, 2026
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