Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 15, 2025

Bumps pyrefly from 0.44.1 to 0.45.1.

Release notes

Sourced from pyrefly's releases.

Pyrefly v0.45.0

Status : BETA
Release date: 08 December 2025

Pyrefly v0.45.0 bundles 146 commits from 21 contributors.


✨ New & Improved

Area What’s new
Type Checking - For dict literals without a contextual hint Pyrefly will now infer an anonymous typed dict. This reduces false positives when unpacking a heterogeneous dict as kwargs. - Better suggestions hints for name and attribute errors (e.g. suggesting fixes to one letter errors like my_variublemy_variable). - Callable types are now narrowed more intuitively, especially in isinstance checks. Callable Enums are also now supported - New check added (defaults to warn) for comparisons where the result is predictable or the comparison inappropriate (e.g. True is False). Reflects basic support for Pyright’s reportUnnecessaryComparison and Mypy’s comparison-overlap check.
Language Server Automatic file renaming improved to allow editable third party packages to be renamed
Third Party Package Support - Support for Pydantic lax mode has been extended to include support for container types (lists, dicts etc.) - All Django fields now support nullability, fixing issues with TextField and others - Pyrefly will now correctly infer the signature for functions decorated with numba.jit and numba.njit

🐛 bug fixes

We closed 19 bug issues this release 👏

  • #1736 - Fixed prepareRename LSP request to allow renaming of symbols from editable packages
  • #1732 - Fixed handling of await inside async comprehensions at module scope
  • #1686 - Fixed highlighting for Chinese and other multi-byte characters by using UTF-16 encoding for semantic token offsets
  • #1632 - Fixed tracking of unresolvable modules, ensuring type errors are updated when import errors change
  • #1565 - Fixed false positive type errors in nested loops by correctly handling LoopRecursive variables in type checking.
  • #204 - Fixed missing error when __all__ is not implemented, now validating user-defined __all__ entries and emitting errors for missing module attributes
  • And more: #1773, #1765, #1742, #1739, #1720, #1698, #1624, #1479, #1475, #1325, #1289, #974, #548

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.45.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
  • 70e7472 bump version
  • 7245890 disable cursorpyright language services if pyrefly installed
  • ae55f45 Update Pydantic Blog video link
  • c0ab0d7 disable based pyright language services if installed
  • 69985d1 disable windsurfPyright if installed
  • 2fb5205 create extension-interop.ts with code related to other extensions
  • b619b4a Use aliases for atomic types only
  • b84abf0 Add FrozenSet case to lax mode
  • aeda0f1 move docstring logic into separate file
  • df721e1 move status-bar into separate 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 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.44.1 to 0.45.1.
- [Release notes](https://github.com/facebook/pyrefly/releases)
- [Commits](facebook/pyrefly@0.44.1...0.45.1)

---
updated-dependencies:
- dependency-name: pyrefly
  dependency-version: 0.45.1
  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 Dec 15, 2025
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.

1 participant