Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps pyrefly from 0.39.4 to 0.46.3.

Release notes

Sourced from pyrefly's releases.

Pyrefly v0.46.0

Status : BETA
Release date: December 15, 2025

Pyrefly v0.46.0 bundles 125 commits from 19 contributors.


✨ New & Improved

Area What’s new
Language Server - Call Hierarchy support for the Pyrefly LSP server now implemented. This is a fundamental IDE feature that allows users to explore function call relationships in your IDE. - Function documentation now available in signature help - Signature help now uses single-line labels, thereby maintaining compatibility with editors that don't support multi-line labels while still keeping hover tooltips readable - Variables defined in ALL_CAPS are now correctly highlighted as constants in VSCode and the website sandbox.
Type Checking Implemented PEP 765 warnings. The checker now warns if return, break, or continue statements directly exit a finally block. Starting in Python 3.14, these statements emit a SyntaxWarning because they can silently mask exceptions.
Third Party Library Support - Added third-party stubs for scipy, matplotlib, scikit-learn, scikit-image, vispy, sympy, pandas, conan, botocore, and boto3 to the Pyrefly bundle for better out-of-the-box support for these libraries. - Support for Pydantic “lax mode”. Pyrefly can now model Pydantic’s lax runtime behavior more precisely. As a result, you may see new inferred types such as LaxInt and LaxBool in your IDE, representing the unions of input types that Pydantic accepts at runtime.
Errors / Debugging Debug symbols are now included in release builds, enabling users to generate usable stack traces in crash reports

🐛 bug fixes

We closed 14 bug issues this release 👏

  • #1826 - Fixed panic/crash caused by capacity overflow with large tuple expansion.
  • #1809 - Fixed __future__ imports being incorrectly flagged as unused, as they have necessary module-level side effects.
  • #1794 - Fixed a panic/crash when a text range calculation exceeded the document buffer size limit.
  • #1418 - Fixed function hover popups (especially in numpy) missing the function name in the header when resolving from stub files.
  • #1289 -Fixed special casing for numba jit decorators (corrected path handling).
  • And more: #1348, #1214, #820, #253, #1667, #1787, #1799, #1821, #1709

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==v0.46.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
  • 071dc8a Bump version to 0.46.3
  • 9aa8180 Fix check for type variables in classvars
  • 81a4cd9 Fix out-of-scope TypeVar default check
  • 44457a9 Fix concrete-ness check for TypeVar restrictions
  • 21103b6 Add another test for #1962
  • 0091125 Add test for #1962
  • 9e888b6 Pycharm: Support unopened file resolve for provide_type (#1918)
  • d3f8dee fix TypedDict NotRequired key narrowing + access error #84 (#1847)
  • 0bcad37 allow typing_extensions for typing module special callables
  • ce44f4a Stop swallowing the exit status in InitArgs::run_check
  • 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.39.4 to 0.46.3.
- [Release notes](https://github.com/facebook/pyrefly/releases)
- [Commits](facebook/pyrefly@0.39.4...0.46.3)

---
updated-dependencies:
- dependency-name: pyrefly
  dependency-version: 0.46.3
  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 Jan 1, 2026
@dependabot dependabot bot requested a review from amyreese as a code owner January 1, 2026 10:02
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 1, 2026
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 1, 2026
@itamaro itamaro merged commit 1ad309f into main Jan 2, 2026
29 checks passed
@dependabot dependabot bot deleted the dependabot/pip/pyrefly-0.46.3 branch January 2, 2026 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. 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.

2 participants