Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps pyrefly from 0.44.2 to 0.45.2.

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
  • 9150981 Bump version
  • a0ba3e7 Handle path and UUID in lax mode
  • 6d89b3c Support decimal in lax mode
  • 693306e Support sequence + iterable in lax mode
  • ffb81ef Add prepare_call_hierarchy LSP handler
  • f50e60e Add test which shows prepareCallHierarchy server capability is not yet implem...
  • fc6ca1a Add find_global_callees_from_definition function
  • 04bb315 Remove fake-stubs from bundle.
  • 2a3736b Add sympy-stubs to Pyrefly Bundle
  • 7776a0e Add vispy stubs to Pyrefly bundle.
  • 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.2 to 0.45.2.
- [Release notes](https://github.com/facebook/pyrefly/releases)
- [Commits](facebook/pyrefly@0.44.2...0.45.2)

---
updated-dependencies:
- dependency-name: pyrefly
  dependency-version: 0.45.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/pyrefly-0.45.2 branch from d775e0c to 7ecac88 Compare December 16, 2025 20:22
@offa offa merged commit 871e478 into master Dec 16, 2025
14 checks passed
@dependabot dependabot bot deleted the dependabot/pip/pyrefly-0.45.2 branch December 16, 2025 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants