Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Bump pyrefly from 0.29.1 to 0.34.0#172

Merged
bigfootjon merged 2 commits intomainfrom
dependabot/pip/pyrefly-0.34.0
Sep 23, 2025
Merged

Bump pyrefly from 0.29.1 to 0.34.0#172
bigfootjon merged 2 commits intomainfrom
dependabot/pip/pyrefly-0.34.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Sep 22, 2025

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps pyrefly from 0.29.1 to 0.34.0.

Release notes

Sourced from pyrefly's releases.

Pyrefly v0.33.0

Status : ALPHA
Release date: 15 September 2025

Pyrefly v0.33.0 bundles 117 commits from 21 contributors


✨ New & Improved

Area What’s new
Type Checker Behavior - Pyrefly now distinguishes between Any as a value and as a type, preventing incorrect attribute access and constructor calls on Any values. For example, when Any (the value) is used as an attribute base or call target pyrefly will now error if you try to access attributes that are not defined on type. - Basic support added for TypeAliasType Experimental support for Pydantic now available! - Type error messages by default now print paths relative to working directory (as opposed to absolute path)
IDE improvements - Kwarg completion now supports literals and unions of literals (requested feature) - A new "typeServer/getSupportedProtocol" request handler included to fetch TSP version information
Website and Documentation - The sandbox feature on the website has been upgraded! It can now deal with multiple files, allowing users to try out Pyrefly with cross-file imports. Give it a go here! - New documentation guide on experimental Pydantic support, read it here - New editable installs section in documentation, detailing the nuances of working with editable dependencies. Read it here.

🐛 Bug fixes

We closed 4 bug issues this release 👏

  • #1052 - regression that caused issue with return type list[Self]
  • #1034 - Python version dropdown in website sandbox not working properly
  • #817 - bad-override error split into 2 separate error codes for type and name differences in arguments
  • #573 - when a package is pip-installed as editable from a local directory as a dependency, it was added in a way that Pyrefly didn’t recognise

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

Read more about error suppressions in the [Pyefly documentation](https://pyrefly.org/en/docs/error-suppressions/)

... (truncated)

Commits
  • fe98214 Update pyrefly version]
  • 4eb74b1 Export global variable types from pyrefly to pysa
  • 7e57c92 Use a heavy task queue to ensure that we can have at most one recheck and at ...
  • 44b9859 use information in exports for as_special_form
  • 9e49efe calculate special export on definitions & propagate via exports
  • 2f4b697 Rewrite lookup_legacy_tparam_from_idx for readability
  • 51ee0dc "Narrow" TypeVars to Quantifieds when solving Binding::CheckLegacyTypeParam
  • 38e626a Tweak display of overload signatures in error messages
  • 9562843 Fix typo in method name
  • b7e9ca7 Recognize classproperty as property decorator
  • 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.29.1 to 0.34.0.
- [Release notes](https://github.com/facebook/pyrefly/releases)
- [Commits](facebook/pyrefly@0.29.1...0.34.0)

---
updated-dependencies:
- dependency-name: pyrefly
  dependency-version: 0.34.0
  dependency-type: direct:production
  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 Sep 22, 2025
@bigfootjon bigfootjon merged commit 5f8ba5e into main Sep 23, 2025
6 checks passed
@bigfootjon bigfootjon deleted the dependabot/pip/pyrefly-0.34.0 branch September 23, 2025 00:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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