Skip to content

Bump pyrefly from 0.48.0 to 0.50.0 in /backend#1534

Merged
github-actions[bot] merged 1 commit intomasterfrom
dependabot/uv/backend/pyrefly-0.50.0
Jan 27, 2026
Merged

Bump pyrefly from 0.48.0 to 0.50.0 in /backend#1534
github-actions[bot] merged 1 commit intomasterfrom
dependabot/uv/backend/pyrefly-0.50.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 27, 2026

Bumps pyrefly from 0.48.0 to 0.50.0.

Release notes

Sourced from pyrefly's releases.

Pyrefly v0.49.0

Status : BETA
Release date: 20 January 2026

Pyrefly v0.49.0 bundles 231 commits from 25 contributors.


✨ New & Improved

Area What’s new
Type Inference - Partial type inference now possible in loops - Variance inference for self-referential generic types (PEP 695) - typing.Mapping now recognised as a type alias
Language Server - Improved refactoring capabilities for moving module members and lifting local functions/methods to top-level module scope, with automatic import/shim creation. - Hover support for in keyword when used in iteration contexts (for-loops and comprehensions), showing the type of the iterable being iterated over - “Go to symbol” now correctly includes methods inside a class - Enabled clickable inlay hints for built-in types like tuple, dict, str, and special forms (TypeVar, ParamSpec, etc.), allowing users to quickly navigate to type definitions in the IDE
Pydantic Support Added detection and support for pydantic.dataclasses.dataclass decorator, including strict and lax mode support for pydantic dataclasses
Error Reporting Improved error messages for yield, yield from, augmented assignment, missing imports, and missing stubs for better user clarity.

🐛 bug fixes

We closed 38 bug issues this week 👏

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

... (truncated)

Commits
  • 4c95fad Allow suppress command to take in json values (4/n)
  • ddc2077 Disable test failing on Windows
  • 5d09330 Fix completion item kinds for module attributes (#1936)
  • c57c5e5 Fix go-to-definition for intermediate submodule components
  • c5b01d3 Add go-to-def test for deep submodule chain with explicit re-exports
  • 46a55b2 make --remove-unused-ignores a no-op for files with no unused ignores (#2217)
  • bdac377 fix relative pyrefly.org link in documentation (#2186)
  • ab05550 Update pyrefly version]
  • 06583fa Simplify tarjan NodeVec push
  • 063154c Refactor IsInstancePattern to use NarrowSource on IsInstance
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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.48.0 to 0.50.0.
- [Release notes](https://github.com/facebook/pyrefly/releases)
- [Commits](facebook/pyrefly@0.48.0...0.50.0)

---
updated-dependencies:
- dependency-name: pyrefly
  dependency-version: 0.50.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 Jan 27, 2026
@cloudflare-workers-and-pages
Copy link

Deploying bracket-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: d133683
Status:⚡️  Build in progress...

View logs

@github-actions github-actions bot enabled auto-merge (squash) January 27, 2026 04:09
@github-actions github-actions bot merged commit fe67b0c into master Jan 27, 2026
4 of 5 checks passed
@github-actions github-actions bot deleted the dependabot/uv/backend/pyrefly-0.50.0 branch January 27, 2026 04:11
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