Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 1, 2025

Bumps pyrefly from 0.36.1 to 0.39.4.

Release notes

Sourced from pyrefly's releases.

Pyrefly v0.39.0

Status : ALPHA
Release date: 27 October 2025

Pyrefly v0.39.0 bundles 195 commits from 19 contributors


✨ New & Improved

Area What’s new
Inheritance checks - Added additional inheritance checks for typed dictionaries - Pyrefly no longer throws duplicate errors for overridden fields - Multiple inheritance checks are now skipped for some special fields, such as constructors
Language Server - Major improvement on startup time for IDE features. This change makes most IDE features available instantly, with completions being available a few seconds later in large environments with hundreds of site-packages - Pyrefly can now update imports when files are renamed, by handling will_rename_file , a request sent by the language client when files are renamed. - Add semantic highlighting and hover docstrings in the Pyrefly website sandbox - Better IDE support for files that don’t have a marker file (pyproject.toml / pyrefly.toml), making operations like find-references should now work in almost every case
Build Systems Improved handling of namespaced directories in build systems. Pyrefly now keeps track of namespaces (directories with a python or source file, but no __init__) in the build system, then returns them for Pyrefly to work with
Docs & error messages - Improved no-matching-overload errors. When no overload matches a function call, Pyrefly now displays the actual argument types that were provided. This eliminates the need to hover over each argument to understand why the call failed. - New error kind untyped-import added to detect missing Django stubs. This error is ignored by default; see the configuration docs for how to enable it. - Improved Pydantic documentation to explicitly list supported features.

🐛 bug fixes

We closed 10 bug issues this release 👏

  • #1364 - __bool__ check not working properly with unions
  • #1322 - autocomplete for StrEnum imports not working properly
  • #1337 - unbound-name errors erroneously thrown in try, except blocks
  • #1345 - IDE startup time very slow when site-packages directory contains a large number of additional packages
  • And more! #1374, #1359, #1320, #1302, #1257, #1217

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.39.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
  • a7dcbde bump patch version
  • 789995f folding ranges for expressions
  • 7c9d3ba range without decorators
  • 250bc89 tests for folding ranges
  • bf7a8ba folding ranges for every statement
  • 46afeaa Add new MissingStub FindError and use it in CLI and IDE
  • 98db5ae Parse higher order parameters from pyrefly call graphs
  • a879bf4 Update darling from 0.20.10 to 0.20.11
  • a23c6a5 Update thiserror from 2.0.12 to 2.0.17
  • dcab1c0 Update regex from 1.11.1 to 1.12.2
  • 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 1, 2025
@dependabot dependabot bot requested a review from remyleone as a code owner November 1, 2025 13:02
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 1, 2025
@dependabot dependabot bot force-pushed the dependabot/pip/scaleway-async/pyrefly-0.39.4 branch from aad0a02 to 1a4ff9d Compare November 4, 2025 11:10
Bumps [pyrefly](https://github.com/facebook/pyrefly) from 0.36.1 to 0.39.4.
- [Release notes](https://github.com/facebook/pyrefly/releases)
- [Commits](facebook/pyrefly@0.36.1...0.39.4)

---
updated-dependencies:
- dependency-name: pyrefly
  dependency-version: 0.39.4
  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/scaleway-async/pyrefly-0.39.4 branch from 1a4ff9d to 3139e20 Compare November 4, 2025 12:28
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.

1 participant