Skip to content

chore: pin pyrefly==1.2.0 to restore green lint CI (fixes #149) - #150

Merged
acul71 merged 1 commit into
multiformats:masterfrom
yashksaini-coder:chore/pin-pyrefly
Nov 19, 2026
Merged

acul71 merged 1 commit into
multiformats:masterfrom
yashksaini-coder:chore/pin-pyrefly

Conversation

@yashksaini-coder

Copy link
Copy Markdown
Contributor

Pins pyrefly==1.2.0 in the dev extra.

Moving to a newer pyrefly (annotating docs/conf.py, examples/, tests, or adding a pyrefly.toml) can be a separate deliberate upgrade.

…s#149)

pyrefly is unpinned in the dev extra; fresh installs get 1.4.1, which
reports 451 errors on unmodified master and fails tox -e lint for every
PR. 1.2.0 is the version the last green lint run (multiformats#146) used and
reports 0 errors.

@acul71 acul71 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review

LGTM — clean, minimal fix for the repo-wide lint CI break in #149.

What looks good

  • Pinning pyrefly==1.2.0 to the last known-green version is the right short-term unblock (avoids chasing 451 new checker errors on unmodified master).
  • Newsfragment 149.internal.rst is correctly numbered/typed and reads clearly.
  • No runtime/API impact; pre-commit pyrefly-local uses language: system, so the dev extra pin is the correct control point.
  • CI is fully green (core / lint / docs / windows). Local make lint, typecheck, test, and docs-ci also pass with pyrefly==1.2.0.

Optional follow-up (non-blocking): open a tracking issue for a deliberate pyrefly upgrade (config/pyrefly.toml and/or annotations) so the pin does not become permanent debt.

Approved — ready to squash-merge. This will also unblock lint on #148.

@acul71
acul71 merged commit 57a0d6e into multiformats:master Nov 19, 2026
10 checks passed
acul71 added a commit to yashksaini-coder/py-multiaddr that referenced this pull request Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants