Repository navigation
chore: pin pyrefly==1.2.0 to restore green lint CI (fixes #149) - #150
Merged
Merged
Conversation
…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
approved these changes
Nov 19, 2026
acul71
left a comment
Contributor
There was a problem hiding this comment.
Review
LGTM — clean, minimal fix for the repo-wide lint CI break in #149.
What looks good
- Pinning
pyrefly==1.2.0to the last known-green version is the right short-term unblock (avoids chasing 451 new checker errors on unmodifiedmaster). - Newsfragment
149.internal.rstis correctly numbered/typed and reads clearly. - No runtime/API impact; pre-commit
pyrefly-localuseslanguage: system, so thedevextra pin is the correct control point. - CI is fully green (core / lint / docs / windows). Local
make lint,typecheck,test, anddocs-cialso pass withpyrefly==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
added a commit
to yashksaini-coder/py-multiaddr
that referenced
this pull request
Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pins
pyrefly==1.2.0in thedevextra.pyrefly==1.2.0is the version the last green lint run used (fix: clear make pr and docs-ci failures after API merges (fixes #145) #146, run 34063339387).masterand failstox -e lintfor every PR (e.g. fix: decode ip6zone as length-prefixed, not a flag protocol (fixes #147) #148).pre-commit run --all-files: all hooks pass, pyreflyINFO 0 errors. Newsfragment149.internal.rstvalidates.Moving to a newer pyrefly (annotating
docs/conf.py,examples/, tests, or adding apyrefly.toml) can be a separate deliberate upgrade.