Skip to content

Bump pyrefly from 0.54.0 to 0.55.0#1576

Merged
github-actions[bot] merged 1 commit intomainfrom
dependabot/pip/pyrefly-0.55.0
Mar 3, 2026
Merged

Bump pyrefly from 0.54.0 to 0.55.0#1576
github-actions[bot] merged 1 commit intomainfrom
dependabot/pip/pyrefly-0.55.0

Conversation

@dependabot
Copy link
Contributor

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

Bumps pyrefly from 0.54.0 to 0.55.0.

Release notes

Sourced from pyrefly's releases.

Pyrefly v0.55.0

Status : Released
Release date: March 03, 2026

Pyrefly v0.55.0 bundles 166 commits from 27 contributors.


✨ New & Improved

Area What’s new
Type Checking - Pyrefly now supports Annotated types and treats them as their base type for most purposes to better conform with the typing specification - Pyrefly now infers `Self` when constructing a class using `cls()`, also improving typing specification improvements - Pyrefly can now evaluate `os.name`, similar to existing `sys.platform` support, reducing false positives. - The `(*args: Any, **kwargs: Any)` syntax is now correctly treated as equivalent to the gradual signature `...`, aligning with Python's typing specification. - Improved handling when star-unpacking arguments to reduce false positives and improving typing specification conformance
Language Server - Hover results for generic overloads now include type parameters. - New “Type source” section on hover that reports narrowing and first‑use inference origins
Documentation / Tooling - pyrefly report now measures type completeness and annotation completeness for functions and their parameters.
Performance Improvements - improved performance of concurrent rechecks, reducing latency for LSP requests like hover

🐛 bug fixes

We closed 35 bug issues this release 👏

  • #2406: Fixed an issue where unbound-name errors were incorrectly reported when using NoReturn.
  • #2512: Subclasses of Any are no longer flagged as not callable.
  • #2363: Passing unpacked tuples of types as type arguments to type parameters with a variable number of type arguments now works correctly.
  • #2560: Dynamically computed __all__ is now handled correctly, avoiding false positives.
  • #1197: False positives when calling imported functions that shadow globals or built-ins are now fixed.
  • #2518: The override check for empty tuples has been made more permissive, aligning with other type checkers.
  • #2498: Pyrefly now correctly handles implicit type aliases with the | operator.
  • And more! #2513, #1837, #2532, #2479, #2166, #2546, #2564, #2530, #2499, #417, #714, #832, #1137, #1369, #1708, #1774, #2055, #769, #2588, #2426, #2521, #757, #2537, #2595, #2511, #2528, #958

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.55.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
  • 2634f22 Update pyrefly version]
  • da13a2e Cache Err results in subset_cache as optimization
  • 0527e8c Replace recursive_assumptions with persistent subset_cache (#2599)
  • 0a0951a Fixed notebook quick-fix position (#2596)
  • 05c5f7f Fix TOCTOU race in lookup_answer
  • a21eb97 Fix jemalloc "Unsupported system page size" on macOS ARM64
  • 064cd1e Add GK for all operating systems.
  • 6951b91 WYSIWYG display of generic type arguments with defaults (#2488)
  • a791138 Add non-interactive mode to pyrefly init
  • ad33773 Remove suprressed error from pyrefly config file
  • 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.54.0 to 0.55.0.
- [Release notes](https://github.com/facebook/pyrefly/releases)
- [Commits](facebook/pyrefly@0.54.0...0.55.0)

---
updated-dependencies:
- dependency-name: pyrefly
  dependency-version: 0.55.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 Pull requests that update Python code labels Mar 3, 2026
@github-actions github-actions bot enabled auto-merge March 3, 2026 22:53
@github-actions github-actions bot merged commit 828c03f into main Mar 3, 2026
15 checks passed
@github-actions github-actions bot deleted the dependabot/pip/pyrefly-0.55.0 branch March 3, 2026 22:55
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