PyreFly results are dependent on local python version
- Dominant language
- Python
- Stars
- 103k
- Forks
- 29.5k
- PR merge metrics
- PR metrics pending
Description
### 🐛 Describe the bug
According to the [doc](https://pyrefly.org/en/docs/configuration/) it should respect the `python-version`, but it's not
```
% python --version; pyrefly --version; pyrefly check --python-version 3.10 torch/_dynamo/variables/lists.py
Python 3.14.0
pyrefly 0.36.2
ERROR No matching overload found for function `int.__new__` [no-matching-overload]
--> torch/_dynamo/variables/lists.py:324:37
|
324 | ConstantVariable(int(x.value)) if isinstance(x, ConstantVariable) else x
| ^^^^^^^^^
|
Possible overloads:
```
vs
```
% python --version; pyrefly --version; pyrefly check --python-version 3.10 torch/_dynamo/variables/lists.py
Python 3.12.12
pyrefly 0.36.2
INFO 0 errors (9 ignored)
```
### Versions
CI
cc @seemethere @pytorch/pytorch-dev-infra
Contributor guide
Assessment
This issue has not been assessed yet.