Skip to content

fix Support for runtime enforcement of required version in pyrefly.toml #3314 - #4338

Open
asukaminato0721 wants to merge 1 commit into
facebook:mainfrom
asukaminato0721:3314
Open

fix Support for runtime enforcement of required version in pyrefly.toml #3314#4338
asukaminato0721 wants to merge 1 commit into
facebook:mainfrom
asukaminato0721:3314

Conversation

@asukaminato0721

Copy link
Copy Markdown
Collaborator

Summary

Fixes #3314

Added required-version support for pyrefly.toml and [tool.pyrefly], using PEP 440 constraints like Ruff and uv.

Invalid or incompatible requirements produce configuration errors; CLI runs exit nonzero.

Test Plan

Added regression tests, schema autocomplete, sample configs.

@meta-codesync

meta-codesync Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

This pull request has been imported. If you are a Meta employee, you can view this in D114012087. (Because this pull request was imported automatically, there will not be any future comments.)

@codspeed-hq

codspeed-hq Bot commented Jul 29, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

✅ 10 untouched benchmarks


Comparing asukaminato0721:3314 (71bb91c) with main (3ec9cdf)

Open in CodSpeed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for runtime enforcement of required version in pyrefly.toml

2 participants