Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 2, 2025

Bumps pyrefly from 0.26.1 to 0.30.0.

Release notes

Sourced from pyrefly's releases.

Pyrefly v0.30.0

Status : ALPHA
Release date: 25 August 2025

pyrefly v0.30.0 bundles 195 commits from 20 contributors 👏

✨ New & Improved

Area What’s new
Completions - Enhanced completions for super with multiple inheritance implemented completion for unions - When the attribute base is a union, suggestions are now combined from every branch of the union. This might lead to errors, but it's more helpful to make the suggestion
Type System - added a configuration flag to turn off "infer from first use" behavior. Inferring types from first usage is valuable for catching bugs but it can lead to false positives so this new flag allows users to turn it off. Turning it off behaves like pyright, leaving it on behaves like mypy. - implicit attribute definition errors are now turned off by default. These errors were raised when an attribute is only declared in a non-constructor method, but it can be a source of false positives in dynamic code. - When type args are not explicitly set, push the class type params into methods (matches mypy approach, differs from pyright that implicitly instantiates with Any/default) ensured qualified names are printed for enums as part of unions. - Enable creation of empty enums and named tuples using functional syntax Default excludes now align with Pylance (incl. Node_modules, __pycache__ and *venv)

🐛 Bug fixes

We closed 11 bug issues this release 👏

  • #984 - empty enums incorrectly given type Never, rather than Any
  • #865 - completion not working for Pytorch torch.zeros module
  • #514 - issue returning generic Self
  • Other bug fixes: #971, #967, #743, #567, #348, #261, #186, #103

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.30

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 Pyefly documentation

🖊️ Contributors this release

@​javabster, @​capickett, Carlos Fernandez, @​connernilsen , @​yangdanny97, @​grievejia, @​kinto0, @​arthaud, @​prasannavenkateshgit, @​rchen152, @​rchiodo, @​rubmary, @​samwgoldman, @​SamChou19815, @​sargun, @​stroxler, @​VladimirMakaev, @​migeed-z, @​LycheeBay

Pyrefly v0.29.0

Status : ALPHA Release date: 18 August 2025

... (truncated)

Commits
  • 76a52db Update pyrefly version]
  • ce5027f Separate AttributeBase1
  • b371068 Accumulate attr lookup result mutably
  • 40fd1ba Add Self and type[Self] attribute base
  • 099d990 Fix completions for super with multiple inheritance
  • 39f5f24 Factor out completions_mro
  • b593927 Simplify excluding object fields from completions
  • 9c660a7 Add override completion test
  • 5673a39 Implement completion for unions
  • 16979b9 Support converting relative paths to module name
  • 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 Sep 2, 2025
@dependabot dependabot bot requested a review from remyleone as a code owner September 2, 2025 00:38
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 2, 2025
@remyleone
Copy link
Member

@dependabot recreate

1 similar comment
@Laure-di
Copy link
Contributor

Laure-di commented Sep 3, 2025

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/pip/scaleway-core/pyrefly-0.30.0 branch 2 times, most recently from 80725ac to b276946 Compare September 4, 2025 01:16
Bumps [pyrefly](https://github.com/facebook/pyrefly) from 0.26.1 to 0.30.0.
- [Release notes](https://github.com/facebook/pyrefly/releases)
- [Commits](facebook/pyrefly@0.26.1...0.30.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/scaleway-core/pyrefly-0.30.0 branch from b276946 to fd24c3b Compare September 4, 2025 03:22
@Laure-di Laure-di added this pull request to the merge queue Sep 4, 2025
Merged via the queue into main with commit 7c9a3da Sep 4, 2025
65 checks passed
@Laure-di Laure-di deleted the dependabot/pip/scaleway-core/pyrefly-0.30.0 branch September 4, 2025 10:45
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.

2 participants