Skip to content

build(deps): bump pyrefly from 1.4.0 to 1.4.1 - #2459

Merged
gbtami merged 1 commit into
masterfrom
dependabot/uv/pyrefly-1.4.1
Nov 10, 2026
Merged

gbtami merged 1 commit into
masterfrom
dependabot/uv/pyrefly-1.4.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 10, 2026

Copy link
Copy Markdown
Contributor

Bumps pyrefly from 1.4.0 to 1.4.1.

Release notes

Sourced from pyrefly's releases.

Pyrefly v1.4.1

Release date: November 4, 2026

Pyrefly v1.4.1 is a patch release that fixes bugs in pyrefly coverage. With these fixes, you can use pyrefly coverage check as a pre-commit hook (pyrefly-coverage-check in pyrefly-pre-commit).


🐛 Bug fixes

  • #5492: pyrefly coverage now gives the same result on every run. Before, an attribute that inherits its annotation from a base class in another module could be reported as typed on one run and untyped on the next.
  • #5362: pyrefly coverage report no longer panics when a pager or another program closes the output pipe early.
  • #5330: pyrefly coverage no longer reports an excluded function or class (for example, one decorated with @type_check_only or @no_type_check) as an untyped variable when a module-level loop follows it.
  • #5383: pyrefly coverage now counts a variable as typed when its value is an explicitly parameterized constructor call, such as x = set[int]().

✨ Improvements

  • #5329: pyrefly coverage understands Cython pure Python mode declarations in .py files.
  • pyrefly coverage skips the solver for annotations that are absent or already solved, which makes it faster on large projects.

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==1.4.1

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.

Read more about error suppressions in the Pyrefly documentation.

Commits
  • b726cd5 cut 1.4.1
  • f87c157 release notes for v1.4.1 (pick onto fbcode/releases/pyrefly/v1.4)
  • 54fa035 Compare complete coverage slot counts directly in tests
  • 9bcd2fa Compact and encapsulate coverage annotation snapshots
  • 2577152 Avoid coverage solvers for absent or already solved annotations
  • af77a68 Share the pre-eviction coverage collector with regression tests
  • c6d6c2e Cover direct inherited annotations before and after eviction
  • 411fa40 Make inherited-annotated attributes deterministic in pyrefly coverage (#5492)
  • 0514db0 Add tests for coverage check and coverage --prefer-stubs (#4251)
  • 0b4cb4d Check the whole test corpus in the pyrefly coverage check/report consistenc...
  • 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 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 1.4.0 to 1.4.1.
- [Release notes](https://github.com/facebook/pyrefly/releases)
- [Commits](meta/pyrefly@1.4.0...1.4.1)

---
updated-dependencies:
- dependency-name: pyrefly
  dependency-version: 1.4.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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 Nov 10, 2026
@gbtami
gbtami merged commit 703f242 into master Nov 10, 2026
5 checks passed
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